yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] lpsi2000:
Pof,

May be I missed something on the Windows side, but I have not seen any kitchen where everything is included in one interface and as simple as this. If I did, please point to at least one or more.

Great job on this man, this kitchen reminds the days of the Wallaby and Himalaya (old school with the future in mind).

Appreciate the efforts.
[Windows Mobile Development and Hacking General] fzzyrn:
i too thought this was a kitchen to build linux roms for ppc. oh well.

its good to have the choice.
[Windows Mobile Development and Hacking General] farukb:
thanks,i'm ubuntu user too;)
[Windows Mobile Development and Hacking General] XL3N7:
For some reason I can't connect
[Windows Mobile Development and Hacking General] pof:
Make sure your device is in bootloader mode, and you have module "ipaq" loaded (lsmod |grep ipaq), also check your 'dmesg' when connecting the device.
[Windows Mobile Development and Hacking General] cr2:
It's called OpenEmbedded http://wiki.openembedded.net/index.php/Main_Page

but does dot have a nice gui.
[Windows Mobile Development and Hacking General] cr2:
This is a kernel bug, you should report it to ubuntu.
[Windows Mobile Development and Hacking General] pof:
@demacus:

1. Which device is it?? I've heard that HTC Diamond has problems connecting to USB-serial in Linux.

2. As cr2 said, looks like a kernel bug, but I haven't had this problems using an up-to-date Ubuntu 8.04, same kernel version as yours (2.6.24-19).

3. You can try to install this in wine, see if it helps:

$ wget http://kegel.com/wine/winetricks
$ sh winetricks corefonts dotnet20 vcrun2005
[Windows Mobile Development and Hacking General] demacus:
Oh, that was pretty quick!

Itried with this wine version but still got the same error...

Also I tried to create os at my laptop with kernel 2.6.24-20 and there is the same problem.

My Device is Diamond, sorry I forgot to say.

Thank you for your replies!

best regards
[Windows Mobile Development and Hacking General] veda_sticks:
This is a great little utility, managed to get it installed under 64 bit ubuntu studio :)

Does this support wizard rom files, any rom packages i have tried only seem to have nbf files and i cant extract anything.
[Windows Mobile Development and Hacking General] Sayuuk:
Thanks for this hot application! :)

Stefan
[Windows Mobile Development and Hacking General] mdneilson:
Can't Extract ROM packages

When trying to extract ROM packages from OS.nb I get the following error:

Preparing...
NBSplit 2.1rc2
Using data chunk size = 0x800 and extra chunk size = 0x8
on file ./OS.nb
Done.
mv: cannot stat `dump': No such file or directory
ERROR: can't create imgfs dump

Looking at the source, I found the code related to the error and it seems to be a problem with the LRKtools.

wine $TOOLS/ImgfsToDump.exe imgfs.bin >> log.dump
mv dump dump_imgfs

if [ $? != 0 ]; then
echo "ERROR: can't create imgfs dump"
exit 1
fi

Can you please help me solve this problem?
[Windows Mobile Development and Hacking General] pof:
It should support wizard ROMs, but NBF support has not been implemented yet. You can extract & repack NBF files using itsme perl scripts (alpinenbfdecode.pl, decodenbf.pl, typhoonnbfdecode.pl, etc...) to deal with NBF files, however this is not integrated in the kitchen yet.

Make sure the LRKtools are in /usr/share/LinuxRomKitchen and you have all the dependencies installed (wine, lcab, etc.) There's a script that should help you find it out (lrk-preload).
[Windows Mobile Development and Hacking General] cr2:
pof, are you using wine because of the cecompr_nt ?

I think it should be possible to use lzmadec_* and the XPR

algorithm is also documented by microsoft recently.

Hehe, then we can finally fix compression for the 'dumprom.cpp' too :)
[Windows Mobile Development and Hacking General] mdneilson:
ls: cannot access /home/mdneilson/LRK/SYS/OEM_Lang_*/initflashfiles.dat: No such fil

It looks like I have all the required tools installed, because the script gave me an error that a path doesn't exist, which is tested near the end of the script.

ls: cannot access /home/mdneilson/LRK/SYS/OEM_Lang_*/initflashfiles.dat: No such file or directory

The LRK folder in my home directory is empty until I extract a file, then it creates a NBH folder, but not the SYS one specified in the error. What component should be creating the path?

Thanks again!
[Windows Mobile Development and Hacking General] lpsi2000:
Pof, I am also getting the below error when I tried to an Athena ROM Preparing... NBSplit 2.1rc2 Using data chunk size = 0x800 and extra chunk size = 0x8 on file ./OS.nb Done. mv: cannot stat `dump': No such file or directory ERROR: can't create imgfs dump
[Windows Mobile Development and Hacking General] pof:
@cr2: Yes! That would be really good, so we no longer need to depend on wine. Do you have more info or any links?

@mdneilson: Make sure in File -> Preferences you select the right nsplit switch for the device you're trying to extract the ROM; if that doesn't help, check the contents of the file ~/.lrk/Temp/log.dump to see if it gives any hint about the problem.

@lpsi2000: Make sure in File -> Preferences you select "-athena" switch for nbsplit options.
[Windows Mobile Development and Hacking General] mdneilson:
What should I use for a Wing (herald)? I tried all three with the same results.

I don't see anything that sticks out in the log. I have attached it if you want to take a look.

I am working on an install on an old laptop and will try this on there too.
[Windows Mobile Development and Hacking General] pof:
You should use "-athena" too, is the default setting for devices that don't need to run nbsplit.

Guess you forgot the attachment.

You can try the commands directly from the shell, for a Herald that should be:

cp OS.nb OS.nb.payload
ImgfsFromNb OS.nb.payload imgfs.bin
wine /usr/share/LinuxRomKitchen/ImgfsToDump.exe imgfs.bin

See if those give you any problem.
[Windows Mobile Development and Hacking General] pof:
@mdneilson: I've extracted a herald ROM and saw what the problem was. Should be fixed in the SVN version, if not please report.
[Windows Mobile Development and Hacking General] mdneilson:
I ran the program from the SVN updated this morning.

Still no dice. The manual commands in shell worked fine, but the pretty version did not.

Should the program load the ROM packages since the shell commands worked and the dump folder is present?

(I also triple-checked for the dependencies as well)

I attached the log this time, sorry. (it is the most recent one)

PS. I am running Hardy, fully updated, on an old PIII.
[Windows Mobile Development and Hacking General] pof:
The log shows it's using NBSplit, most probably because you forgot to change the "-athena" switch in File -> Preferences, please double check that.
[Windows Mobile Development and Hacking General] mdneilson:
Good call. But still just short of a mile. New error:

Preparing...
[Info]	It is a common ROM.
[Error]	File is damaged, end address small than start address.
[Error]	File is damaged, end address small than start address.
xip.bin: No such file or directory
mv: cannot stat `dump': No such file or directory
ERROR: can't create XIP dump

I get this error with all 3 ROMs that I have (Open, Touch-it, and the stock Wing ROMs)
[Windows Mobile Development and Hacking General] pof:
Are you sure this is SVN version? This should be fixed in SVN r92, please check again.
[Windows Mobile Development and Hacking General] demacus:
Sers,

just a little update: with kernel 2.6.26-5-generic everything is working fine!

Thank you, best regards

demacus
[Windows Mobile Development and Hacking General] mdneilson:
Sorry, I was too busy for the last few days to work on this.

I uninstalled and updated from the latest SVN (r104). It worked except I get this error with every ROM:

[Error]	File is damaged, end address small than start address.

And a few other errors that are different with each ROM. It seems to me that the program is working now, so I attached a log for you to look at and a link to ROM that I used for testing.

ROM: http://www.megaupload.com/?d=1OTD3E3M

Thanks.
[Windows Mobile Development and Hacking General] lpsi2000:
How do I get the SVN version(s)?
[Windows Mobile Development and Hacking General] mdneilson:
Open a terminal and download the svn client:

sudo apt-get install subversion

After it installs, cd to your desired download directory (i just use home for ease).

Then download the latest svn source:

svn checkout http://htc-flasher.googlecode.com/svn/trunk/ htc-flasher-read-only

This will create a folder in the current directory called "htc-flasher-read-only."

The svn is only the source so you must run make to compile the program.

Enjoy.

PS. Prof, is the error that I stated in the last post a result of the ROM file, or is the program still not agreeing with my herald/wing ROMs?
[Windows Mobile Development and Hacking General] Soul_Est:
Thanks so much for the this great piece of software pof. Unfortunately I'm having a bit of trouble with it. I've followed the entire thread and resolved every possible dependancy problem but I cannot get it to work. When I try the extract the packages from OS*.nb, I have two processes of ImgfstoDump.exe running and it won't continue from there. I'll post more later.
[Windows Mobile Development and Hacking General] cr2:
Here is the link for liblzma (LZX*)

http://tukaani.org/lzma/lzma-4.999.5alpha.tar.gz

I've saved the .pdf file with XPR description somewhere on my HDD :)
[Windows Mobile Development and Hacking General] poly_poly-man:
I'm on gentoo...

is there anything I must set up to use this properly?

doesn't seem to work (even after playing with dependencies for a while..)

$ lrk
which: no gtkdialog3 in (/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/mingw32/gcc-bin/4.3.1:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.4:/opt/ICAClient:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/lib/subversion/bin:/usr/games/bin)
ls: cannot access /home/mkern/LRK/SYS/OEM_Lang_*/initflashfiles.dat: No such file or directory
gtkdialog: unrecognized option '--center'

any tips?
[Windows Mobile Development and Hacking General] cr2:
The XPR implementation in C

http://www.msuiche.net/codes/xpress.c.txt
[Windows Mobile Development and Hacking General] aguichor:
Hi Pau!

First things first, many many thanks for your wonderful tool. :)

I'm using svn rev 104 on ubuntu 8.10, it works like a charm...except a minor thing i guess:

I tried to extract SYS/XIP from 2 different rom files (french ones, one for Artemis, the other one for BlackStone), everything is right after extracting os.nb but it can't load content of "Default" and "User" in the registry viewer ("Boot" is ok).

It's strange because I can see the 3 files on ~/.lrk/reg/, and they're not empty at all.

And I have the same problem for editing the Initflashfiles, it appears empty, even if the file is here (and not empty!) in ~/.lrk

(i saw on the terminal that it can't find ~/LRK/SYS/OEM_Lang_*/initflashfiles.dat)

maybe some paths are wrong ? I don't really understand

Thank in advance, if you or someone have an answer... :)

(and excuse my english!)
[Windows Mobile Development and Hacking General] FoFoo:
hello there.

first of all a have to thank you for the app. Everything working great i thing, but am newbie in cooking and trying understand how it works. so any help like manpages about linux kitchen and raphael would be nice. Ive extracted rom, edit it, add some cabs etc.. but what i really like to know is when i extracted rom it tells me that some dlls missing. And ill be happy if i get know what each dll means.

Some # man LRK --raphael :D
[Windows Mobile Development and Hacking General] hentai_jeff:
Is this still being developed? I tried to start using it last night but only need the files for /usr/share/linuxromkitchen to get everything working. The site to get these seems to be down.
[Windows Mobile Development and Hacking General] Shawn80:
Got this from the README...

here are also a few windows binaries needed, which will run trough wine.

My plan is to eventually write linux native replacements for them, but at the

moment this is better than nothing.

To install the windows tools:

$ wget http://www.eslack.org/pof/LRK/LRK-tools.tgz

$ tar zxvfp LRK-tools.tgz

$ cd LRK-tools

$ sudo cp * /usr/share/LinuxRomKitchen/

This will install the LRK-tools files.

Good Luck..
[Windows Mobile Development and Hacking General] loquens:
Hi! I'm using LRK from svn (rev. 107) under debian to play with my HTC Max 4G.

I could successfully extract packages from 04_OS_0x400.nb using both lrk GUI and lrk-extract. Building os-new.nb via GUI and cmd. line, NBH generation using yang, and flashing using HTCflasher are successful too.

But after flashing my device behavior is very strange: Operator customizations works, but not at all: for example, TouchFlo 3D runs, but theme is not switched to HTC Black.tsk, despite the fact that HTC Black.tsk is available. Even from settings menu I could not change theme. EDGE icon in taskbar is different. And I can't even change current time :-\

Hard reset does not help.

But if I modify some file (for example, change startup sound) in operator-customisation xml script, that works.

Must mention, that even if I build os-new.nb without any modification, the result is same.

Building and flashing NBH from original 04_OS_0x400.nb works like a charm.
[Windows Mobile Development and Hacking General] mcardielo:
Hi, the link seems to be down, can you upload again please.
[Windows Mobile Development and Hacking General] dgaud007:
I doubt you could run this just by installing the debian package (missing dependencies?). I tried the svn version (r107) and it runs OK, though I haven't tried using it with a phone yet. Try installing the svn version.
[Windows Mobile Development and Hacking General] rocker2344:
i need lrk-tools.tar.gz anyone has it? the link is down
[Windows Mobile Development and Hacking General] mcardielo:
I'm looking for it to.
[Windows Mobile Development and Hacking General] virgo75:
hello could you give me the software required to change the rom because it is no longer available on the site. thanks if you want this is my mail antonioa75@libero.it
[Windows Mobile Development and Hacking General] cnaw:
Has anyone found a working link for lrk-tools.tar.gz ?

Thanks,

cnaw
[Windows Mobile Development and Hacking General] Duron23:
Anybody ???

Or any alternates for cooking windows mobile rom on a linux machine ?

Regards

Duron23
[Windows Mobile Development and Hacking General] kvnxp:
aaa the link http://www.eslack.org/ no work!!!!! :(

edit: plz upload LRK-tools.tgz
[Windows Mobile Development and Hacking General] kvnxp:
hey !!! who upload lrk-tools.tar.gz please !!!!
[Windows Mobile Development and Hacking General] tiger2wander:
Great effort to make mod job available on linux, a very strong environment to do most everything. Thanks you pof

Anyone has lrk-tools.tar.gz?

Please upload, I can not run linuxromkitchen if missing this package :(
[Windows Mobile Development and Hacking General] tiger2wander:
Arrrrrrrrrrrg!

Found that package in my old directory (was downloaded when it available, from: Tue 02 Feb 2010) :p

I attach it here for guys missing this when the official site is down. Sorry if it is not appropriate by author. If it is illegal, so I'll go to remove it as author request

Good luck!

---

Best regard!

Uoc Nguyen
[Windows Mobile Development and Hacking General] tiger2wander:
gtkdialog package for Ubuntu i386

This is a package missing on Ubuntu repository if you are using the latest version of Ubuntu: 10.10 Maverick Meerkat. gtkdialog is using to make GUI control from bash script.

You can download and build it for yourself from: ftp://linux.pte.hu/pub/gtkdialog/

Good luck!

---

Best regard!

Uoc Nguyen
[Samsung Galaxy J7 Questions & Answers] Skates386:
Does anyone have this file that they could send to me directly: TWRP-3.2.1-j7popqltetfnvzw-20180606.img ??

The only link that I can find leads me here: "https://basketbuild.com/uploads/devs/yshalsager/TwrpBuilder/samsung/j7popqltetfnvzw/TWRP-3.2.1-j7popqltetfnvzw-20180606.img" and it indicates that it is not working. Any help is much appreciated! Thanks!
[Samsung Galaxy S8 Questions and Answers] moldee5:
Hello,

I'm trying to recover a Snapdragon SM-G950W (Canadian model) that is hard bricked. Does not power on with any button combination, does not vibrate if USB plugged in, cannot find it in Device Manager. The only indication that it might have life in it is that it gets detected if I reverse wireless charge from my other phone, but even under wireless charging, it does not vibrate or show on the status indicator. Is it possible to restore this device in any way? I have a Z3X box if that helps. I have no history on the phone, so I'm not sure how it got to this state.

Thanks in advance.
[Samsung Galaxy S8 Questions and Answers] TheMadScientist:
If its not detecting Qloader9008 in device manager only other option is to ground out the test point,To get the device to boot into EDL mode. Issue here is that the test point is on the other side of the mother board and actual accsess is nearly impossible for many users there are many steps to doing this and damge can easily happen along the way. Then you need the original bootloader images or new that it was on. How did the device become in this state?
[Samsung Galaxy S8 Questions and Answers] moldee5:
I have no history on the phone - I'm not sure how it got in this state, or what firmware it was on previously. I don't mind disassembling the phone to access the motherboard. Would there be any other way to recover it, like with a JTAG jig?
[Samsung Galaxy S8 Questions and Answers] stonedpsycho:
I remember a while back now, but someone whose phone would not boot was resolved by charging by type C and using a wireless charger both at the same time. Long shot but worth a try.
[Samsung Galaxy S8 Questions and Answers] TheMadScientist:
No

---------- Post added at 02:30 PM ---------- Previous post was at 02:30 PM ----------

This was the deep discharge bug that faces the non removable battery devices.
[Huawei P40 Pro Guides, News, & Discussion] patrick.pilcher:
Hi all, I've been tinkering about with the P40 Pro and while its a lovelly device, the lack of access to the pay store was a show stopper. There is a really easy solution though, its the Aurora cloned Google Play Store (https://xdaforums.com/android/apps-games/galaxy-playstore-alternative-t3739733) which works just fine on the P40 and doesnt have all the privacy issues of Google Play....
[Huawei P40 Pro Guides, News, & Discussion] linux2525:
How do you get notifications? Only a few apps provide fast & consistent notifications without hacks :(
[Huawei P40 Pro Guides, News, & Discussion] patrick.pilcher:
Aurora store handles app updates just fine. Was that the issue you were referring to?
[Huawei Mate 10  Questions & Answers] AgentNerull:
HELP...

So I tried to install a new OS Lineage and it everything just went wrong...LOL

I'm stuck in a bootloop and new OS didnt install correctly

But I know there is still some hope... I can boot into TWRP 3.2.1.0 and fastboot and have adb connection.

Just need a little guidance and what my options are from this point.

Huawei Mate 10 Pro BLA-A09C567B127
[Huawei Mate 10  Questions & Answers] ericcostes:
ha !! os lineage exists for mate 10 pro ? link please :)
[Huawei Mate 10  Questions & Answers] Pretoriano80:
Download BLA-A09C567B127 firmware and extract UPDATE.APP file from it.

Use Huawei Firmware Extractor (get it from XDA) to open the UPDATE.APP file and extract the system.img and recovery_ramdis.img

Boot your device in fastboot and flash the two images with the following commands :

fastboot flash recovery_ramdisk recovery_ramdis.img

fastboot flash system system.img

Reboot to recovery and do a factory reset. Done!
[Huawei Mate 10  Questions & Answers] AgentNerull:
https://www.xda-developers.com/lineageos-honor-view-10-huawei-mate-10-pro-project-treble/
[Huawei Mate 10  Questions & Answers] AgentNerull:
THANKS Pretoriano80

flashed both files and factory reset in recovery

but after about 10%, I get a big red Exclamation

any ideas?

Used this firmware. Maybe thats the error

https://xdaforums.com/mate-10/how-to/huawei-mate-10-pro-bla-a09-c567-usa-t3775258
[Huawei Mate 10  Questions & Answers] Pretoriano80:
i would use the files from the firmware you were on, in your case it should be B127

That B127 version does not seem as a valid one.At least not on EMUI 9,maybe EMUI 8

P. S. In fastboot mode, use this command to check the current version : fastboot oem get-build-number
[Huawei Mate 10  Questions & Answers] AgentNerull:
BLA-A09 8.0.0.127(C567)

Well... thats what I was afraid of... I still haven't been able to find the original firmware. And the backup I had was years ago and can't seem to find those files.

So is my phone just a paper weight? LOL

not even funkyhuawei has those files
[Huawei Mate 10  Questions & Answers] Pretoriano80:
Let me check if i can get those files for you. Eventually hit me on Telegram, it's easier to chat.
[OnePlus 6T  Questions & Answers] GbizzleMcGrizzle:
So I've read a bunch of stuff and everything I've read tells me to do the same thing that I've already done. Also those thread seemed pretty old so....

Anyway I need a stock backup so I can perform OTA update but I don't have one. this is what I did

I used msmtool to start over

pushed through setup

unlocked bootloader switch in developer settings

unlocked bootloader in fastboot

updated android

fastboot boot twrp.img

wiped everything

flashed magisk.zip

(I didn't install TWRP because I am under the impression I can't pass safteynet with a custom recovery am I wrong about this?)

installed magisk.apk

So what step am I missing to save the stock backup so I can uninstall magisk for OTAs?

I had a Pixel for 3 years that had a broken fastboot and so I couldn't unlock the bootloader and never got to learn about the new AB partitioning until now. so I'm a little behind

Thanks
[OnePlus 6T  Questions & Answers] OhioYJ:
Unlocking the bootloader can make you fail safety net, much less Magisk if its not set up right. The recovery wont matter.

My guide here is for installing Lineage, however Step 5 will work for OOS too and make you pass safety net. So feel free to install TWRP.

I recommend Funk Wizards Guide on installing TWRP. Also note the section on EFS backups.

Look into TWRP backups, I dont use them, but I know its not straight forward unfortunately.
[OnePlus 6T  Questions & Answers] GbizzleMcGrizzle:
So when I'm flashing the magisk file in TWRP, does it save a copy of the image it's modifying? And where does it save that image? Also where should i put that image so I can uninstall-> Restore Images?
[8125, K-JAM, P4300, MDA Vario General] 1ibandit:
I could use some help or an answer to my problem. I have 8125 with tomtom 6 on it. I also have a wired GPS that I was using on my lap top. The gps has a usb connector so it could't be hook to the usb mini that is on the wizard.

So I got an idea of using a USB hub to give both power and connect together through the hub... Well no joy... I have tested all setting I can.. I turned off Beam, I tried changing all ports in exturnal GPS (even none) and it will not see the GPS. I tried all settings in tomtom also

So I guess the question is can you use the sync/charge usb mini/usb cable to connect to a hub that is connected to a usb GPS?

If no how do you use a wired GPS....

Thank you for any help....
[8125, K-JAM, P4300, MDA Vario General] 1ibandit:
no help in the house?

Guess nobody so far has a any info on how to help me with this problem...
[8125, K-JAM, P4300, MDA Vario General] rmcknight:
You'll need to use a Bluetooth GPS.
[General Questions and Answers] Rexkh:
Dear All

Somehow, I uncheck OEM unlock in Developer Options and reboot to TWRP then I get error message "Custom Binary blocked by FRP lock". Any suggestion to solve this problem? Can we disable FRP without booting OS? Can we do it without format my precious data?