yashsingh1/xdaforums huggingface dataset:
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
How to work with "packed" partitions

Software

sam-tools

Any tool for mounting drive images (OSFMount)

Unpack

Large zero areas are cut off from those partitions. image-rebase can restore such files.

image-rebase /u MainOS.bin /o MainOS.img

You can now mount and edit MainOS.img.

Warning! Data partition is very large and almost empty.

Pack

First of all slice image file:

image-rebase /s MainOS.img /z 2048

This command will cut off zero areas larger than 2048 sectors (1MB).

MainOS.img.xml is a template file.

Now you can glue files together using template:

image-rebase /p MainOS.bin /t MainOS.img.xml
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
What to edit in ROM

CSCMgr

This service applies MBN file. The idea is to downgrade it to CMK2 (GDR3) version. To do so replace those files:

system32\CSCMgr.dll

system32\CSCMgrSvc.dll

system32\drivers\CSCMgrSvc.dll (yes, it's a copy)

FCRouter

This service is used by Samsung system tools to perform actions with high privileges. Files:

system32\FCRouter.dll

system32\FCRouterProxy.dll

system32\drivers\FCRouter.dll

system32\drivers\FCDriver.dll

Registry hives

system32\config

You can edit those hive as you want. But HR will destroy all you work.

OSRepack

It a simple tool to work with packages on mounted partitions. Available here.

SDelete

There is a tool called SDelete which can fill all free space on a drive with zeros.

sdelete -z X:

Very useful for non-developer ROMs.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Packing SMD

Software

sam-tools

Hex editor (HxD)

Pack MainOS image

image-rebase /s MainOS.img /z 2048
image-rebase /p MainOS.bin /t MainOS.img.xml

Prepare SMD header

It's not really a header but a first part of file. This file can be used as template for your later work. It contains all partitions except MainOS.

smd-tool /info file.wp8

This command will give you some info about SMD file structure. Open it in hex editor and copy all data up to MainOS ROM offset to a new file. Add Data.bin to this new file.

There are some structures at the start of file. For example:

4D 61 69 6E 4F 53 00 00 00 00 00 00 00 00 00 00

00 C0 06 00 5F 29 4B 00 00 7C FF 08 00 0E AD 61

1F 1F 1F 1F 00 00 00 00 21 E2 CC EA 00 00 00 00

2B C2 5E C9 6A 2F 0B E1 6F 1C 95 FC 49 FF E9 FD

Start and length are colored.

Warning! Those numbers are little endian (12345678 = 78 56 34 12)

Replace Data Start with MainOS Start. You can use Ctrl+C & Ctrl+B (copy and paste with replace).

Replace MainOS Start with length of this (template) file.

Save file.

Adding MainOS

Add MainOS.img to your template.

Replace MainOS Length with length (in bytes) of MainOS.bin file.

Replace 16 bytes at offset 0x50 with zeros.

Count MD5 hash of the file (HxD can do it) and write it at 0x50 (^C & ^B).

Save this file as .wp8

You can check numbers you entered with following command:

smd-tool /info custom.wp8

Warning! This .wp8 file can only be flashed with Downloader v3.54
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Making CSC from MBN

Software

Hex editor (HxD)

Pack

Open CSC file in HxD.

At 0x00A00C00 it has MBN file contents.

Replace it with your MBN and fill rest of the CSC with zeros.

Warning! This file can't be unpacked with this instruction because FAT is broken. You can unpack it manually.

Correct MD5 as you did for WP8 file.

Warning! This CSC can fool Downloader but not phone. New CSCMgr will still ignore custom MBN.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Making developer ROM

Such ROMs can be directly mounted with OSFMount.

This command will pseudo slice MainOS.img:

image-rebase /s MainOS.img /z 4000000

Entire partition will be in one piece.

If you pack SMD with this file you can mount it and edit without repacking SMD.

In OSFMount enter offset equal to MainOS ROM offset + 0x1000.

Don't forget to recalculate MD5 after edit.
[Windows Phone 8 Development and Hacking] Heathcliff74:
OMG, WOLF! People tell me that my tutorials are too long. But you are a true match for me!! :highfive: :D

Congrats on this great achievement! :victory:
[Windows Phone 8 Development and Hacking] G.moe:
Wow! Huge thanks for rewriting these tutorials in English; I wasn't expecting you to do it so soon! Can't wait to play around and to see what others come up with.
[Windows Phone 8 Development and Hacking] spavlin:
I play around with the replacement of files FC Router + WP8 Diag on my GT-I8750 (from the SM-W750V, SPH-I800, SGH-I187, SGH-T899M), in the end everything works.

Powered mode Smart Download.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
so I could be possible to use ATIV S version of CSCMgr on SE. And SE then will have custom MBN :)
[Windows Phone 8 Development and Hacking] G.moe:
Yea, that's what I gathered from the info as well. Unfortunately I won't have time to try this out for another 4-7 days but I'll let you know if I do. And if you (or anyone else) feels like whipping it up and you need someone to try it, shoot me a PM.
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
Added info about sdelete and OSRepack to "What to edit in ROM"
[Windows Phone 8 Development and Hacking] -W_O_L_F-:
I have an idea to record full process of ROM making and upload it on Youtube. Will it be useful?

Added poll.
[Moto E Q&A, Help & Troubleshooting] @bsourav:
Hi,

I am using a custom ROM on my Moto E 2014(condor). after flashing a Marshmallow ROM, it seems I cannot transfer files from the PC to the phone using ADB. I can see the folders in both Internal as well as external SD card memory when I choose MTP as option for ADB, but as I try to copy a .zip file I get the error "The device has either stopped responding or is disconnected".

I have tried the following steps

1. inserting the USB cable to another USB port.

2. tried to copy to phone's internal memory.

3. re-chose MTP as ADB option.

4. tried to transfer files using PTP as ADB option.

I am running cyanpop v4.5 based on android 6.0.1_r3 and my laptop is on windows 10.

I have been able to do this operation very smoothly before for all lollipop ROMs.

I have Motorola Device Manager installed.

Thanks. :good:
[Moto E Q&A, Help & Troubleshooting] -z3r0-:
Seems like a rom problem.

Haven't tried that rom yet. I'm gonna flash it today and report back.

Edit : Maybe Rom specific error. Working fine in CyanPop 4.7
[Moto E Q&A, Help & Troubleshooting] @bsourav:
not a rom problem.. maybe some driver issue.. works fine some times and others doesn't.

I transferred files after a days gap through USB without any problem on the same rom.
[Moto E Q&A, Help & Troubleshooting] kltos:
I have checked few MM roms and these type of issues are seen while usimg SD card as internal storage.
[Nexus 6P Q&A, Help & Troubleshooting] jayesh:
Sincerely doubt you will get much help, with this around here. Should check with merlin himself over, on that site.
[Nexus 6P Q&A, Help & Troubleshooting] EnF70:
Did so, ref here:

http://www.snbforums.com/threads/wi-fi-5ghz-issue-with-nexus-6p-and-asus-rt-ac87u-router.29515/
[Nexus 6P Q&A, Help & Troubleshooting] darkmentor25:
I am using D-Link router and I have observed the same issues with 5ghz whereas its great on 2.4ghz.

While I was blaming the router for these issues, I realized that router is workin perfectly and 5ghz connection works with no issues on other devices..
[Nexus 6P Q&A, Help & Troubleshooting] DespairFactor:
Has anyone messed with AQM on their device to test if maybe if FIFO is tail dropping because the buffer is full? Perhaps PRIO should be tried with something like fq? Or try codel/fq_codel
[Nexus 6P Q&A, Help & Troubleshooting] TohaMatin:
As I can't post url, plz check YouTube and a guy EverythingAppleProJr

He has a tutorial for Asus issue and unstable Wi-Fi.
[XDA Assist] dangel2001:
Does someone have a tip how to root Android 5.1 on my brand new Wiko Pulp 4G? I thought I have seen someone around on this before buying... but now I noticed it's more tricky than expected with Android 5.1.
[Nexus 4 Q&A, Help & Troubleshooting] Varna Reddy:
Hi Mates,

My Laptop Win7 SP1 is not detecting Nexus 4 Running on LMY48M Android 5.1.1 .

Please help me with steps to get this solved :)

Also please let me know how to install 6.0 in Nexus 4 .

Thanks in advance .

-Varna
[OnePlus 2 Q&A, Help & Troubleshooting] subbathegim:
I am not having USB Type-C to usb 2.0 converter so how do I connect to PC as I want to root my phone install custom mod.?
[OnePlus 2 Q&A, Help & Troubleshooting] pitrus-:
You mean you didn't get the red/white USB charger/data-cable that comes with the phone??? That one is USB C in one end and normal USB 2.0 in other end and gets you going with TWRP and Boeffla while waiting for 100% working Cyanogenmod. ?

Skickat från min ONE A2003 via Tapatalk
[OnePlus 2 Q&A, Help & Troubleshooting] sushant6786:
Just plug the other end of your charging cable to usb port ?
[OnePlus 2 Q&A, Help & Troubleshooting] KiraYahiroz:
You mean USB type C to USB type A right? Both ends are USB 2.0 anyway, the supplied cable will connect your phone to any USB port on your PC.
[OnePlus 2 Q&A, Help & Troubleshooting] subbathegim:
Wow.. I already have that cable but I never knew that will work with USB 2.0
[OnePlus 2 Q&A, Help & Troubleshooting] pitrus-:
First of all, our phone does not support USB 3.0 speedwise, also USB 3.0 cables are backwards compatible with the 2.0 interface. So yes, you already have the cable you need. ?
[OnePlus 2 Q&A, Help & Troubleshooting] subbathegim:
I never knew that the other end of the charging cable fits with USB 2.0
[OnePlus 2 Q&A, Help & Troubleshooting] KiraYahiroz:
USB is backwards compatible with older standards, such as 2 being backwards compatible with 1, 3 being backwards compatible with 2 and 1, etc. Obviously it depends more on the physical connection (such as type A, B, C).
[General Questions and Answers] pnawaf:
is there any sw for android phones which can share wifi network .not wifi hotspot .apps which is in build in Mi phone which helps to connect to network by creating an qr code.
[General Questions and Answers] pnawaf:
if connected there is a option in Mi phones share network.is this possible with any sw.it will not ask any password or ssid .it will just make an qr code .ifwe sacn it and connect directly to the modem
[Honor 7 General] Icetea:
for all users who are interested:

HONOR 7 "tear down" pictures you can find here:->

http://mobile.it168.com/tu/1742921_1.shtml#1

:good:;)

it begins with picture 1 and goes up to picture 23!

* all parts are easy removable (but I have damaged my back cover in trying to remove it!!)

* all parts are not fixed with glue! ( not with glue, but sometimes with little hooks!)

Info for our German users ;)

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

You can find a battery replacement here:

http://www.amazon.de/Original-Huawe...=UTF8&qid=1451904750&sr=1-21&keywords=honor+7

20,33€ incl. shipment! (Jan 2016)

or if you need a new back cover

silver: http://www.amazon.de/Huawei-Honor-D...1456143362&sr=1-4&keywords=honor+7+back+cover

gold: http://www.amazon.de/Huawei-Honor-D..._UL160_SR160,160_&refRID=0BJG884HAXXTTZKCN4R4

black: not found

or some good (leather!) flip case:

https://www.conrad.de/de/hama-flip-case-smart-case-passend-fuer-honor-6-schwarz-1307549.html

but under some circumstances, you will need this repair tool too: (for example!)

http://www.amazon.de/Slabo-Universa...F8&qid=1451905093&sr=1-6&keywords=repair+tool

Info: I’m not the seller!

and if you are not able to repair, feel free to contact:

1.) https://huawei.repairmanagement.de/

2.) http://www.ecc-esc.de/
[Honor 7 General] FredMan95:
Hey non-toxic, thanks for your post.

Last week my new Honor 7 arrived. But a few days later my phone falls down and the display glass brokes.

After I googled a long time i found a replacement glass for the Honor 7 for around 15€.

Does anybody knows it is possible to change only the glass without the digitizer or the LCD?

I seen a lot of movies of Samsung replacements on Youtube. Are they transferable to the Honor 7?

Thanks for answers and sorry for bad english language :D

Freddy
[Honor 7 General] Icetea:
this video isn't for Honor7 but for Huawei Mate 7. The procedure should be nearly the same.

https://www.youtube.com/watch?v=95xpXrEr6_I

german user can order the display glas here:->

http://www.ebay.de/itm/like/201449476290?ul_noapp=true&chn=ps&lpid=106

so i think it must be possible to change only the glas.

and here is a Honor 7 "tear down" video:

https://www.youtube.com/watch?v=PDAQbqJ1ikY&list=PLHEq8Abn5-lCOBOnATgBn2jXG6a_rDG-F

but i miss the part of changing the glas!:(
[Honor 7 General] FredMan95:
Jup, I know. I have seen severals Videos of the Huawei Ascend Mate 7.

The "teardown" videos aren't show the Display removal :(

But thank you for your reply. :)
[Honor 7 General] Icetea:
found a new video:

https://www.youtube.com/watch?v=PDAQbqJ1ikY
[Honor 7 General] FredMan95:
Today I decided to replace the whole Display and not only the glass.

Can anyone tell me a good "chinese" Site, like "banggood" where I can order the new display unit?
[Honor 7 General] Icetea:
today i tried to open my H7! I removed the lttle screw but wasn’t able to open the body! Don't know why! I have used a tool but it fails!!! Maybe they have used glue. Did somebody open his phone successful?
[Honor 7 General] Icetea:
second try:

ok, the body is open, but the back cover is damaged now!
[HTC Excalibur] vivid22:
Hey,

many of the apps for the Excalibur/Dash require the new NET C Framework v2, i downloaded it, tried to install it and my excalibur popped up a msg saying: There is already a version of the NET... installed, plese uninstall this version first before installing the new one....or sth like this, well okay, but how should i uninstall that version? i mean i recently just upgraded to WM6 so i could imagine the newest version of the NET framework is included anyhow. BUT, when i want to install some of the apps besides that, it still says: You need to have NET compact framework v.2.0...so, how to uninstall then?
[HTC Excalibur] indiekiduk:
wm6 has cf2 built in. cf2 can also run cf1 apps but sometimes there is the odd problem with crashes etc so you might like to install cf1 sp3 (the last version of cf1) too.
[HTC Excalibur] vivid22:
Okay, still, how am i able to uninstall the cf2 first?
[HTC Excalibur] shtits:
Hm..AFAIK you can't uninstall it, because of it's shipped in ROM.
[HTC Excalibur] vivid22:
Muaha...alright...so all the DashApps are rather useless that require a net framework v.2.0, although i am supposed to have it..!?:D
[HTC Excalibur] George3:
this works on my blackstone

http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en

I found the 2v in the device\windows\AppMgr-folder. I just deleted the verson 2 folder after I had verifyed that the 3.5v was in place!
[Moto E Q&A, Help & Troubleshooting] saching09:
Some of the settings options caused crashing.

I am not able to open "About phone", "Developer options", "Blocked caller list", "Notifications" but other options are working fine.

Also, some message is displaying instead of "Button" option text and "@2131299584" text is showing for one item in Sound option.

and sometimes sound is not working on the phone seems hardware issue, as I didn't find any logcat for this.

Mote E 2014

CM12.1 Nightly 19 Dec
[Moto E Q&A, Help & Troubleshooting] neo.ank:
Looks like a Rom issue, try another nightly and see if problem persists.

Tapped from my Moto X
[Moto E Q&A, Help & Troubleshooting] saching09:
From logcat:

E/AndroidRuntime(26645): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.content.res.Resources$NotFoundException: String resource ID #0x7f090d41

But for last 15 days its working fine... all of sudden, today this issue occured.

By the way, how to attach screenshot and logcat text file.

Thanks

Sachin
[Moto E Q&A, Help & Troubleshooting] neo.ank:
That's definitely an issue with you settings app.

I can't say for sure as I don't know what this particular resource id refers to.

So clean flash another nightly.

PS: You can attach files using manage attachment button below your post.

Tapped from my Moto X
[Moto E Q&A, Help & Troubleshooting] saching09:
I dirty flashed the same nightly to fixed the issue.

I think, being a new member, I dont have permission to attach.

Thanks.
[Android Q&A, Help & Troubleshooting] osa219:
I have samsung galaxy y (young) I tried to install a rom (because whan I try to boot the phone don't stop booting (boot loop)) I go to recovery mode and I flash in cwm (clock work) formating... /data (every thing normal) formating.../system the phone turn off I know that /system have everything like boot animation and system apps and... but the video who try to install the rom he gone well (I think because he format /cache first??) plz I know the phone die but can I back the phone to life idk maybe by pc or odin or anything..

thanks for reading
[Android Q&A, Help & Troubleshooting] Pirateghost:
We don't support that device, so why are you posting this here?
[Android Q&A, Help & Troubleshooting] osa219:
dude i not talking about this device i am taking generally It is only an example

:confused:
[Android Q&A, Help & Troubleshooting] Pirateghost:
Read what forum section you're in.
[Android Q&A, Help & Troubleshooting] osa219:
sorry

Oh so you can help me where shold i post ? i am new :angel:
[Android Q&A, Help & Troubleshooting] Pirateghost:
I don't know. Just search the site for your device. It certainly isn't in this forum section.
[General Questions and Answers] bc030400412:
I am using Samsung A7 (Model A700FD). During updating lollipop ROM through odin I got message "FAIL", afterwards when I restarted my phone, it is continuously vibrating and nothing does appear. Hence my phone is now in hard bricked state. There appears no any recovery or download mode - when I try to use download mode by holding Volume Down+Home+Power buttons together for 3-4 seconds, it vibrates a little bit which feels like the phone is in download mode but unfortunately no any display is shown.

Also, odin is not showing any connected port on laptop. When I hold only Power button for 4-5 seconds, it turns OFF and automatically turns ON along with continue vibrating. Currently, I have put my mobile in download mode state, by pressing Volume Down+Home+Power buttons and it does not vibrate and is silent.

One think I notice that battery is charging if I connect to powerbank, because powerbank display shows charging status and decreases its power level (i.e. % when charging) but mobile screen does not show any type of charging status.

I surfed the internet about hard bricked issue and I found Jig USB trick, on this link:

http://xdaforums.com/showthread.php?t=1331782

I tried the method of jig USB cable, but phone is still not showing download mode option. I surfed the internet again and found the solution of HARD BRICK through "debrick.img", but I am new and I don't know how to make "debrick.img" for samsung A700FD. So, friends please guide me and suggest any suitable solution using your expertise and experience.

Thanks
[General Questions and Answers] rendey:
i'm facing exactly the same issue

did you solve it ?
[General Questions and Answers] bc030400412:
no, it will be solved soon by samsung warranty claim shops, they said its non warranty mobile so you have to pay charges of repair.
[General Questions and Answers] rendey:
how much u paid?
[General Questions and Answers] bc030400412:
2,000 PKR
[General Questions and Answers] rendey:
here in Egypt they can't solve it and they have to change the motherboard

i had to pay 800 EGP = 60000 PKR
[HTC Desire 610] Jamie1A:
Okay, I had some problems with my phone. I installed custom recovery and I wanted to install one rom (can't remember name ) but i didn't made back up and I did full wipe of my phone, so yeah. Can someone give me links of all roms that exist?! TNX.
[HTC Desire 610] MGfusion:
Well, there is two custom ROMs as of right now, slimkat and CyanogenMod, however, slimkat it buggy, while CyanogenMod is not, so I'll post the link to the CyanogenMod forum: http://xdaforums.com/showthread.php?t=3266321

[ROM] [27 DEC 2015] CyanogenMod 11.0 [4.4.4] [Stable]
[HTC Desire 610] DaGWaR:
And there is possibility of more cm roms to come and remember to thank MiniBlu
[HTC Desire 610] noumannomii93:
thanks man for your help you saved me tons of money! Thank again
[HTC Desire 610] MGfusion:
Well that's good!! Your welcome and have fun!
[Galaxy S III Q&A, Help & Troubleshooting] kush2.0:
Can anyone tell me is it possible to restore a backup created of my full dual ROMs?

I am running arter97 kernels dual boot 2.2.zip but reading the info he has said not to try doing a backup or restore the 2nd ROM otherwise this will seriously damage the system but I have made a backup of the full system from the 1st ROM which includes 2 data ext4 files (1 for each ROM) if I restored this backup would it work? Or would my recovery not be able to restore this correctly? ?
[ONE Q&A, Help & Troubleshooting] dendi:
Hey! ive used quite few roms and in all i found this issue .. double tap 2 wake works fine but after a few days ,i double tap to wake and it doesnt work.. i go in to settings and there the DOUBLE TAP TO WAKE OPTION IS NOT SELECTED.. i switch it back ON and it works fine ! happen to me and cm12.1 and ressurection remix... please help me out ! thanks :)
[ONE Q&A, Help & Troubleshooting] vigneshnallamad:
Hello,

Even I'm facing the same issue on RR roms and hoping for a solution. Please help guys :)

Thanks in advance.
[ONE Q&A, Help & Troubleshooting] bedman77:
For me it used to happen only when I was rebooting from lockscreen. So rebooting normally after unlocking the screen resolved the issue.
[Galaxy S 4 General] badmashchamp:
YES THIS DREAM COMES TRUE.

Guys i am Badmashchamp , made a perfect Rom for our beloved device samsung s4 (i9500). I will upload it soon. This Rom gonna be a best custom Rom made for s4 ever.

So plz guys keep supporting me. As i told u i think this Rom is bugfree.

And i am using this Rom since 2 months. And seriously i can't see any bug into this.

If u like it download it and keep reporting bugs "lol" ..

Download links will be availiable soon..

Thanku and love u guys
[Galaxy S 4 General] Perseus:
Placeholder threads are against XDA Rules. Closed. Report your Thread to the moderators when you have a download link.