yashsingh1/xdaforums huggingface dataset:
[G2 Q&A, Help & Troubleshooting] Incep:
Me too, I'm not really an android developer, just worked a lot with Linux earlier, and it's conceptually the same thing! Hopefully I pointed you in the right direction.
[G2 Q&A, Help & Troubleshooting] nfin1te:
ok i entered adb shell alrdy, but when i try to use the parted command, it says

~ # parted /dev/block/mmcblk0

/sbin/sh: parted: not found

~ #

Edit:

Apparently, i need to push parted first.

Im currently trying this: http://www.droidforums.net/forum/htc-droid-eris/78650-internal-storage-partitions-screwed-up.html
[G2 Q&A, Help & Troubleshooting] Incep:
Maybe you don't have parted installed on your phone. Each command is actually it's own program, which lies in a folder which is either /bin for normal apps, and /sbin for system-changing apps. So probably check /sbin if there is a binary file called 'parted' there. But be careful of this program… It can be very destructive.
[G2 Q&A, Help & Troubleshooting] nfin1te:
Yeah thx, i just managed to push the necessary files.
[G2 Q&A, Help & Troubleshooting] nfin1te:
Ok, now im looking at this partition table:

(parted) print

print

Model: MMC 032G96 (sd/mmc)

Disk /dev/block/mmcblk0: 31.3GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 16.8MB 83.9MB 67.1MB fat16 modem

2 83.9MB 84.9MB 1049kB sbl1

3 84.9MB 85.5MB 524kB dbi

4 101MB 101MB 524kB DDR

5 117MB 118MB 1049kB aboot

6 118MB 120MB 1049kB rpm

7 134MB 151MB 16.8MB boot

8 151MB 152MB 1049kB tz

9 152MB 152MB 1024B pad

10 168MB 171MB 3146kB modemst1

11 171MB 174MB 3146kB modemst2

12 174MB 174MB 1024B pad1

13 185MB 201MB 16.8MB misc

14 201MB 235MB 33.6MB ext4 persist

15 235MB 252MB 16.8MB recovery

16 252MB 255MB 3146kB fsg

17 268MB 269MB 524kB fsc

18 269MB 269MB 524kB ssd

19 269MB 269MB 1024B pad2

20 269MB 270MB 524kB encrypt

21 285MB 294MB 8389kB ext4 drm

22 294MB 302MB 8389kB ext4 sns

23 302MB 336MB 33.6MB laf

24 336MB 369MB 33.6MB fota

25 369MB 403MB 33.6MB ext4 mpt

26 403MB 403MB 524kB dbibak

27 403MB 404MB 1049kB rpmbak

28 404MB 405MB 1049kB tzbak

29 405MB 405MB 8192B rct

30 419MB 3322MB 2902MB ext4 system

31 3322MB 3959MB 638MB cache

32 3959MB 4043MB 83.9MB tombstones

33 4043MB 4060MB 16.8MB spare

34 4060MB 4110MB 50.3MB ext4 cust

35 4110MB 31.2GB 27.1GB ext4 userdata

36 31.2GB 31.3GB 62.9MB grow

(parted)

I assume, the problem is, that cache seems screwed as it doesn't show any filesystem right?

So if i make this partition ext4, it should work again?

If i check pt31/cache, it says:

(parted) check 31

check 31

Error: Could not detect file system.

(parted)

So, im assuming, im right.
[G2 Q&A, Help & Troubleshooting] nfin1te:
lol, man this is frustrating

(parted) mkfs ext4

mkfs ext4

Warning: The existing file system will be destroyed and all data on the

partition will be lost. Do you want to continue?

parted: invalid token: ext4

Yes/No? yes

yes

Partition number? 31

31

File system type? [ext2]? ext4

ext4

No Implementation: Support for creating ext4 file systems is not implemented

yet.

(parted)
[G2 Q&A, Help & Troubleshooting] nfin1te:
It's alive again!

ext2 worked aswell, as i/we thought - the problem was the cache partition got f'ed up. Making a new FS using parted solved the problem.

THANKS bro for pointing me in the right direction.

Edit: restored backup and everythings fine again
[G2 Q&A, Help & Troubleshooting] emrexcem:
I have the same issue , i am running on ubuntu i but i dont quite get the instrations ?
[G2 Q&A, Help & Troubleshooting] evilruck:
Hi mate i had the same problem and after a long struggling i got this working again.

-Use a Windows computer and install the SDK tools

-Check OP's link to find the "parted" file

-Connect phone in recovery

-Open cmd in windows and type adb shell, you'll get a new console with a #

-Push your parted file to /sbin using adb push command:

In my case i had the parted file in E: drive so i used adb push E:\parted /sbin/parted

-If you try to execute parted you'll get a "permission denied" error, so after pushing the file you need to fix the permissions so type "chmod 777 /sbin/parted"

-Execute parted and just follow OP's steps and you'll be fine.

Hope it helps ;)
[G2 Q&A, Help & Troubleshooting] pingwinpower:
Don't use parted to create a filesystem

You saved my but but as far as I know it is not recomended to use parted to create a filesystem.

Use

mke2fs -T ext4 [partition]

instead
[G2 Q&A, Help & Troubleshooting] redkib:
Can you please provide more detailed instruction please, i have apparently the same problem, i not familiar with adb, i have now pushed all necessary parts to phone what should i do now.

I am stuck please please help.
[G2 Q&A, Help & Troubleshooting] nfin1te:
I cant really provide any more information than this, please be more specific with your problem.

Since apparently you have pushed all the files via adb already, you just need to use the "mkfs" command to create a news filesystem, just be sure to select the right partition number (the corrupted one). You can find the correct command via google or take a look at my post
[G2 Q&A, Help & Troubleshooting] redkib:
my problem i can successfully flash rom, but when i tried to reboot it reboots back to recovery. so i'm assuming it has something to with partition. tried flashing kdz and tot in download mode it didn't work. my phone is lg g2 d802 32gb. i have been trying to fix it for days now.

---------- Post added at 02:16 PM ---------- Previous post was at 02:11 PM ----------

this is what i got when typed (parted) mkfs ext4

C:\mini-sdk>(parted) mkfs ext4

mkfs was unexpected at this time.
[G2 Q&A, Help & Troubleshooting] nfin1te:
I maybe wrong, but when you flash a kdz, i think that all the partitions are reset - if that is the case, you have a different problem.

My phone was stuck at boot, it didnt boot into recovery automatically.

Try the print command in parted and post your partitions here, also, what did you do that caused this problem? Rom upgrade?

No idea, i'd suggest googling that.

I'm really not an expert on this.
[G2 Q&A, Help & Troubleshooting] redkib:
kdz. stops at 2%.

just to make sure

After pushing all the parts did you type (parted) mkfs ext4 and got Warning: The existing file system will be destroyed and all data on the

partition will be lost. Do you want to continue?
[G2 Q&A, Help & Troubleshooting] nfin1te:
I did not type (parted), that just the way its displayed when you alrdy have started parted.

I'd strongly suggest googling for how to use the program via adb command line.
[G2 Q&A, Help & Troubleshooting] redkib:
i have been googling whole day to figure it out, you are the only thing i got, can you give me the command line you used to push the files, maybe i have pushed to the wrong directory.

Are those the files you pushed, appreciate your help.
[G2 Q&A, Help & Troubleshooting] 6ril1:
Your problem seems to look like this:

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

You can try to reset fota and misc. I made three flashable zip for that (one backup in case of problem, one reset and the last for restore if it's required:

http://xdaforums.com/showpost.php?p=55046903
[G2 Q&A, Help & Troubleshooting] redkib:
i tried the first option but still reboots back to recovery,

About the second, am i supposed to flash all three zips? Thank you for yur help
[G2 Q&A, Help & Troubleshooting] 6ril1:
What did you try exactly ? erasing misc and fota ? or just fota ?

Just one of the three zips does the trick,others are made to secure the operation (backup and restore in case of problem).
[G2 Q&A, Help & Troubleshooting] redkib:
What i did was On Adb

adb shell

dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

which one of them should i flash
[G2 Q&A, Help & Troubleshooting] 6ril1:
So you have reseted just fota.

You can try the same with misc.

The zip https://www.androidfilehost.com/?fid=23622183712461318
[G2 Q&A, Help & Troubleshooting] redkib:
do you mean flash LG_G2_restore_fota_misc_by6riloo.zip

AND

adb shell

dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
[G2 Q&A, Help & Troubleshooting] 6ril1:
Just the zip (del fota and misc, not restore)
[G2 Q&A, Help & Troubleshooting] redkib:
Thank you

thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you

I could write this whole day.

it is back :laugh:
[Android Apps and Games] saroyama:
===== DESCRIPTION =====

This free Christmas drink recipes app will lift your spirits and get you in the mood for great holiday party hosting. There are amazing recipes, including eggnog recipes, punch recipes, cider recipes, to add to all of your holiday favorites. Many drink recipes and creative ideas have been brought together all in one convenient place. This app has been expertly designed to be easily understood. Its step by step instructions will make the preparation and mixing of holiday drinks a snap. Packed with features and graphics, Christmas Drink Recipes will delight and please the drink mixing hosts as much as the guests.

====== FEATURES ======

* Free app

* Easy to understand

* Step by step instructions

* Many great Christmas recipes

* Professionally designed and created

* Creative and inspiring holiday drink recipes

Impress your friends, family, and co-workers with these great drink recipes at your next family or company Christmas get together. With amazing drinks like Holiday Mimosas, Spiced Cranberry Cider, and Candy Cane Cocoa you can’t go wrong. There any many other delicious and pleasing recipes to use! This professionally created for adding that extra zing to your holiday festivities. Try the Warm and Spicy Autumn Punch or the Holiday Punch. Both are great party drinks that serve a few or many guests. No matter what your taste in Christmas Drink Recipe is, there is something for everyone! There are even great drink ideas to enjoy no matter what time of year it is. Download today to get the best Christmas and holiday drink recipes that the internet has to offer.

====== DOWNLOAD ======

Google Play: https://play.google.com/store/apps/details?id=com.christmas.drink.recipes

Developer site: http://hotbotsearch.com

Our Apps on Google Play: https://play.google.com/store/apps/developer?id=Hotbotsearch+Android+Developers
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bjames23:
Something weird is happening during a phone call. While I'm talking I'll pull the phone away from my head and the screen won't turn on, ever. Even when I want to end the call I have to press the power button and then end call after the screen turns on. Doesn't matter what ROM I'm on. Also a buddy who isn't even rooted has the same problem. I'm hoping it just a stupid setting.

Any ideas?
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] brad2taylor:
Same problem here.. even on a fresh room install.. so I'm afraid it is not a settings issue
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] haza12d:
Do you guys have a case for it? Maybe the sensor is covered somehow.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bjames23:
Yes I have a case but I had the case since I got the phone and it only recently started doing this
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bjames23:
Took the case off and tried nothing. Does it go by a light sensor or the gyro?
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] brad2taylor:
No case here either. Very strange
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] bskarpa:
Mine started do this as well. After phone call pull the phone away and have to hit power button to turn screen on.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] TSman74:
Happened to me and I found the solution on another thread. Sounds stupid but it worked for me. Blow into the ear piece. I used a compressed air spray can but it may work with just your mouth. Apparently some dust gets in front of the proximity detector inside the phone next to the ear piece. This removed it. Give it a shot.
[Nexus 4 Q&A, Help & Troubleshooting] Stretlow:
Hi.

I've been out of the loop recently with the development of 4.4 due to a house move/ renovation.

I've had a quick look through the rom lists and I know the dev is still at an early stage however im looking for a rom with the following simple bits.

Custom nav height

Customer battery

Customer quick tiles.

Is there a rom currently that offers this

Thanks for any help

Stret
[Nexus 4 Q&A, Help & Troubleshooting] SMillerNL:
Yes there is. Wanna know which ones? Use search
[Nexus 4 Q&A, Help & Troubleshooting] Stretlow:
Give up with this place sometimes. Ive already said ive had a quick look but theres a multitude of roms available.

Youve posted, so why not just say?

Congratulations on being sarcastic pratt off the year :good:
[Nexus 4 Q&A, Help & Troubleshooting] eagleeyetom:
It's not an excuse to try few of them and decide which ROM fits you most.

Thread closed.
[Verizon Samsung Galaxy S 4] dwitmer1989:
My proximity sensor is busted. I've tried all the different things like odining and getting compressed air and blowing it in the ear piece (which actually worked for like a day). So when I place a call the screen goes black and it won't let me turn the phone on at all. I know if the proximity sensor driver is just disabled I'd be able to turn the screen on and off by the power button while in a call. at any rate I was wondering if anyone knows what the driver is called for this phone. I would like to just disable the driver so I can get my phone functionality back. If anyone has any other ideas too that'd be more than welcomed. Thanks!
[Verizon Samsung Galaxy S 4] thesoldier:
Go into Phone > call settings, then UNcheck "turn off screen during calls." That should allow you to use your power button while on a call.
[Verizon Samsung Galaxy S 4] dwitmer1989:
Hey thanks so much for the response!! I should have specified i'm not a huge fan of touchwiz roms and that setting isn't in aosp for some reason :/ right now i'm on a touchwiz rom just because it's given me that option but i would love to be on the 4.4 aosp roms which i've tried and loved.
[Verizon Samsung Galaxy S 4] thesoldier:
I haven't ran AOSP for awhile so I'm not familiar with the call settings, but there has to be a similar setting to disable it in there somewhere. This actually just started happening to me, I think my proximity sensor crapped out as well :( Look around, or ask in the ROM thread that you're using.
[Verizon Samsung Galaxy S 4] zman2107:
Ive read take a can of compressed air and blow in ear speaker above Samsung name
[Verizon Samsung Galaxy S 4] dwitmer1989:
Yeah I wish mine was the dust problem cuz I've blown it put with compressed air like 20 times by now lol I'm so frustrated
[Verizon Samsung Galaxy S 4] dwitmer1989:
Fix!!! well sort of

ok so i found a workaround not really a fix but i guess it's gonna have to be good enough for me. I found an app called intelliscreen which gives you the option to set screen on/off rules for different apps. I set screen always on for the dialer and phone apps in 4.4 kk rom and now basically the screen still turns off during a phone call but i am able to turn it back on during the phone call with the power button or home button. pretty awesome because i really didn't feel like being on a tw rom forever lol.
[Verizon Samsung Galaxy S 4] zman2107:
Glad to here it
[Verizon Samsung Galaxy S 4] dwitmer1989:
Hey guys if anyone is still searching for the fix here it is... This definitely works 5th post down

http://xdaforums.com/showthread.php?t=2586884
[Verizon Samsung Galaxy S 4] joshm.1219:
Doesn't that break auto rotation?
[Verizon Samsung Galaxy S 4] dwitmer1989:
The method of disabling the sensor in the .so folder seem to break auto rotate. For me however its kinda worth it. Anything I usually want rotated is always rotated on its own anyhow and not being able to use my phone as a phone is kinda the worst lol.
[Verizon Samsung Galaxy S 4] markanthonyjohn:
Some users in the CM 11 thread have had success using a Q-Tip with a little alcohol on it to clean a black haze on the sensor. This, however, requires you to take the phone apart, which is actually a lot easier than it would seem.

http://xdaforums.com/showthread.php?p=50051163&highlight=alcohol#post50051163
[Verizon Samsung Galaxy S 4] dwitmer1989:
Just tries the alcohol method. For all wondering fory phone it definitely did work and it definitely was super easy.
[Galaxy Note II Android Development] z666metal:
:thumbdown:
[Galaxy Note II Android Development] lontu:
What's you want to say by this ? :eek:
[Galaxy Note II Android Development] z666metal:
Lol
[Galaxy Note II Android Development] Androidwizzard:
Hopefully not many will follow that way cause it's I6 and not 16 ;)
[Galaxy Note II Android Development] dr.ketan:
Install this and check your bootloader.

https://play.google.com/store/apps/details?id=com.app.info
[Galaxy Note II Android Development] rraaka:
not that i understand whats going on here but mi6 didnt have a bootloader of its own, i think
[Galaxy Note II Android Development] dr.ketan:
Your interpretation is wrong.

Your OS is 4.1.2 not bootloader.

Your bootloader is MK3 which means it is newer. If you able to downgrade that then only it have meaning. If you successfully downgrade then you shouldn't have extra two lines on download mode.

So what happens with you is absolute normal.

Yes you don't know, othrwise you may haven't created and wasted space and time of hundreds of people here, I am wasting just to make it clear.

There is nothing magic happened here, whatever you did is very well known. You tried to get rid of MK4 and now you have MK3 (which is even newer than MK4) :)

Anything you needs to do is just ask moderator to close thread, I don't think any further discussion needed here.
[Galaxy Note II Android Development] dr.ketan:
It's upto moderator but i am in favour of closing thread because title of thread 'downgrade bootloader' is misleading. There is nothing to surprise, you can downgrade to any rom as far as rom you are flashing doesn't have older bootloader.
[Galaxy Note II Android Development] z666metal:
totally agree with you about the closure of the branch

most can not delete this topic?

Moderators, please remove because it is wrong.

thank you
[Galaxy Note II Android Development] malybru:
Mod Edit

Thread Closed

malybru

Forum Moderator
[Galaxy S II Q&A, Help & Troubleshooting] lfrst05:
Hi,

As I got the Nexus 5 now, I'd like to downgrade my Galaxy S2 from the latest CM 10.2 nightly to the oldest available firmware of my provider which is available from samfirmware.com (Android 2.3.5, I9100XWKI8_I9100DREKI1_DRE).

(The reason for doing this is that I want a device with Android 2.3 for debugging and testing my apps)

Most sites I found say that I should simply flash the firmware with Odin (http://xdaforums.com/showthread.php?t=2480204)

but e.g. http://www.droidviews.com/how-to-downgrade-firmware-on-samsung-galaxy-devices/ says that I need to flash the Bootloader and PIT too.

What is the corret way (without bricking the phone)?

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] immortalneo:
Follow XDA advise mate. Simply flash via Odin, do a full wipe and that's that. :)

"To err is human, to forgive is divine."

Sent from my SGS II
[Galaxy S II Q&A, Help & Troubleshooting] lfrst05:
OK, thanks. Will try it in a few minutes.

Edit: You were right. Everything worked like a charm.

Ahhh...Good old 2.3.5 Samsung stock-firmware with carrier branding....how i NOT missed you :)
[Nexus 5 Q&A, Help & Troubleshooting] Seetri:
I'm trying to install the 4.4.1 update but my device isn't being detected in recovery mode and thus adb sideload is not working. Would really appreciate some help. I've tried almost every solution that I've googled and nothing seems to be working.
[Nexus 5 Q&A, Help & Troubleshooting] jkimbro:
I had a similar issue. Found the naked drivers and they seemed to work after uninstalling the other drivers and rebooting my PC.
[Nexus 5 Q&A, Help & Troubleshooting] jt3:
Any chance you could post those drivers? Mine works fine, but it would certainly help others if you could post them, or at least post a link to where you found them.
[Nexus 5 Q&A, Help & Troubleshooting] EddyOS:
You just need the Google drivers from their website:

http://developer.android.com/sdk/win-usb.html
[Nexus 5 Q&A, Help & Troubleshooting] greenkabbage:
I had to force the installation of the drivers for the "AOSP on Hammerhead" device in the device manager.

I couldn't even get the device to show until I pressed VolUp in recovery and selected the ADB option in the recovery.

I used USB ADB Composite Interface or something like that by pointing the device manager's Update Driver dialog to the USB drivers from the SDK that EddyOS pointed at.

Windows 7 x64
[Nexus 5 Q&A, Help & Troubleshooting] EddyOS:
Yep, had issues with my work PC (Win 7 Pro x64) - had to manually point Device Manager to the android_winusb.inf so it would find the drivers. Bit of a ballache but all working after that!
[Nexus 5 Q&A, Help & Troubleshooting] beekay201:
ADB isn't enabled on stock recovery, and sideload is not the same thing. From Google's POV, ADB access on recovery would be a heavy security risk, since you can still access recovery even with your bootloader locked. That's why they created sideloading.

a hammerhead wrote this.
[Nexus 5 Q&A, Help & Troubleshooting] jt3:
ADB Server may not be enabled, but ADB obviously is, otherwise you wouldn't be able to connect in order to Sideload, which you can certainly do with stock recovery (even with a locked bootloader). Also, if ADB wasn't available on the device, it wouldn't show up with the "ADB Devices" command.

Now, maybe you mean it's not available once you boot into recovery until you select "apply update from ADB." That may be true (not sure), but that's not what I got from your statement.
[Nexus 5 Q&A, Help & Troubleshooting] jkimbro:
http://xdaforums.com/showthread.php?t=2513339
[Nexus 5 Q&A, Help & Troubleshooting] beekay201:
Try it. Select "apply update from ADB", and then try to get a ADB prompt like you would normally, you know, ls /sdcard/, something.
[T-Mobile Samsung Galaxy S 4] tieumieu:
Is There any custom room working with galaxy gear at this time????????? please

Thank in advance
[T-Mobile Samsung Galaxy S 4] evocalante:
You might want to check the accessories section.
[T-Mobile Samsung Galaxy S 4] jonahtriangle:
I also saw a thread just for galaxy gear itself so you can flash custom ROMs on the gear.
[T-Mobile Samsung Galaxy S 4] KennyG123:
There is a forum for Galaxy Gear as well as other smart watches elsewhere on XDA
[Windows Mobile Development and Hacking General] nolovelust:
i couldn't find any solution, anyone has information about it? i want to toggle wifi on/or via a command line or anything but with jut 1 action like vijay's phone toggle
[Windows Mobile Development and Hacking General] vijay555:
What OS are you using?

V
[Windows Mobile Development and Hacking General] nolovelust:
wm5 , wizard
[Windows Mobile Development and Hacking General] nolovelust:
anyone?
[Windows Mobile Development and Hacking General] vijay555:
If you wait for a day or so, I'm releasing something new that will help you out.

V
[Windows Mobile Development and Hacking General] nolovelust:
sure I would :D thank you
[Windows Mobile Development and Hacking General] vijay555:
nolovelust: Please check it out here:

VJVolubilis

Hope it works. Please report in that thread on success/failure. It's relatively hot off the press. More stuff to add soon.

V