yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) General] machhho:
Can anyone please extract the kona_wifi.pit file and upload it .

thanks in advance
[Galaxy S 4 Q&A, Help & Troubleshooting] ciborio:
I flashed google edition rom on my I9505, i have installed AOSP browser and latest Flash Player.apk for ICS ROM, but it does not work. When I open a flash animation, it gives me a wild gray screen.

With Cm10.1 on my I9100 Flash player works perfectly with AOSP browser.

Any fix ??

thk
[Android Q&A, Help & Troubleshooting] McNetic:
Hello,

yesterday, I got my Galaxy S3 (custom build cm10.1) from my pocket to notice it said "safe mode" on the bottom. It might be that I accidentally pressed buttons to get into safe mode; but thats not the problem here.

I noticed that all my custom accounts were now missing (Caldav, Carddav, Xing, and some more). Only the google accounts remain. As all my contacts and calendar entries are on the caldav/carddav server, they went missing, too (of course, they will come back when re-adding the account). I didn't know about the existence of safe mode, I thought like "what the...", and restarted the phone, and it came up without safe mode now. But - the accounts are still missing, and taking a closer look I noticed that some customized or account-related widgets (K9 for example) are also missing now. At least most of the app data seems to still be present; even the Xing app works as expected, even though the related account is missing from the settings. It seems all the account related data is still there.

I've got three questions now:

1) Is it normal, that the described accounts/widgets get permanently lost when entering safe mode?

2) Is there a way to restore these without manually entering/configuring them again?

3) What _other_ data/settings I perhaps didn't notice until now can go missing when entering safe mode?

Thanks in advance

Nico
[Android Q&A, Help & Troubleshooting] lonesomecoder:
Same with Nexus 4 (Stock firmware 4.3): Inadvertently (don't ask how :rolleyes:) but manually started safe mode. The result after a normal reboot was the complete loss of all custom accounts and related widgets.
[Android Q&A, Help & Troubleshooting] ohbobva:
Same with Nexus 5. All accounts and widgets lost. All (non-Google) contacts lost. Calendar lost.

There should be a warning on the on-line instructions for using safe-mode unless this is a bug in Android that needs to be fixed.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
This is NOT a bug. This is how Safe Mode is designed and works very similar to Safe Mode on the computer. It disables all 3rd party apps, widgets, data, etc so you can make sure if your phone is having trouble that it's not from something you have done or installed. You should just be able to reboot and Safe Mode be disabled. If it is not, then make sure your Volume keys aren't stuck.
[Android Q&A, Help & Troubleshooting] McNetic:
That right. However, the problem is not safe mode or leaving safe mode, but the problem is, that afterwards, when booting normally, all third party (non-google) accounts and some widgets (and maybe other data, but that I don't know) are lost and seem not to be recoverable. (see post #1)
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
Ohh sorry, thought you were still stuck in Safe Mode and wondering why the stuff wasn't there. Sorry. But yea...definitely not normal for it to lose all your stuff after you boot back to normal mode. As far as restoring it - only if you had a nandroid of the same rom or everything backed up with like Titanium Backup.
[Android Q&A, Help & Troubleshooting] funksoulbrother:
This happened to me last night.

I left my Nexus 5 on my bedside table. Usually I put it into aeroplane mode before going to sleep, but this time I didn't. When I woke up this morning, I picked the phone up and all my widgets were gone from my home screens apart from Google Newsstand and the Google search bar and all of my accounts were gone apart from my main Google account. My wallpaper had also reverted to the stock Nexus 5 wallpaper.

I rebooted the phone, but it booted up in Safe Mode for some reason - and it was still messed up - so I turned it off and on again and it booted into normal mode, but it was STILL messed up and all of my widgets/accounts were gone apart from the Google ones.

I ended up doing a factory reset. I have no idea how this happened as the phone was on a bedside table all night, untouched. The only thing I didn't do that I would normally do at night is put it into aeroplane mode.
[Android Q&A, Help & Troubleshooting] peter_h:
Well it's 2020, and this fault still occurs! I've a Samsung Note 3 (Android 5.0) that just disconnected and deleted my CardDAV sync connector/account. I've lost all my unsync'd contacts (There were quite a number, as it's been a while since I sync'd -- so it's quite the loss). I've tried various contact recovery tools, to no avail. Here's a description from from DAVx⁵ tech support, as to what seemingly happened .... (DAVx⁵ is a CardDAV sync adapter, but mine was similiar: CardDAV-Sync Free):

-------------------------------------

"At some occasions (especially when booting), Android looks for orphaned accounts which are not associated to a sync adapter. Unfortunately, this check is sometimes run before DAVx⁵ is available.

So, if this check doesn't find DAVx⁵ for whatever reason, it thinks that all DAVx⁵ accounts are orphaned and deletes them, including all your local contacts, calendars and tasks (together with all unsynced changes). This problem is known for at least these cases:

- when DAVx⁵ has been moved to the external storage or SD card (although this is forbidden by the app manifest),

- when the device is booted into safe mode, and...

because of a Google Play bug which may affect users who have got DAVx⁵ via Google Play on

many Android 4.4.x devices, regardless of the manufacturer, for instance LG G3 (LG-D855) with Android 4.4.2, and some other devices.

How to fix it:

- DAVx⁵ must not be moved to external storage (SD card or USB storage).

- Upgrade your device to the latest available Android version (if your firmware is really old, you may consider a custom ROM).

- If you boot into safe mode, be prepared that all local DAVx⁵ data (including unsynced changes) will be lost. At the next synchronization, all data will be downloaded from the server again.

- You may consider to install DAVx⁵ from another source (e.g. F-Droid)." --https://www.davx5.com/faq/accounts-gone-after-reboot-or-update

---------------------------------------------

I've spent many, many hours searching the net and trying to recover what I lost, to no avail. It seems that most people go for the "set it up again and re-sync to the server"... which restores everything up until the last sync. So they don't loose too much... so the occasional problem doesn't get a lot of attention, nor does it garner enough outrage to get it fixed, it seems. I have no great confidence that this won't happen again, so I'm taking the precaution of:

- Upgrading to a phone with Android 8, and not using Google Play to install the sync adapter app

- or -

- Disabling safe mode for Android v7 or lower (https://www.hexnode.com/mobile-devi...fe-mode-on-android-devices-using-hexnode-mdm/)
[One (M7) Android Development] squabbi:
An 'end of life' release has been uploaded to fix the broken host issues. Thank you everyone!

Welcome to my HTC One Toolkit 3! :victory:

This is my new design and version. I'm not too sure if you'll like this but it looks less cluttered! :)

Table of contents!

Infomation

Downloads are at the top.

FAQ​

About the toolkit:

This is a very good looking toolkit with almost everything you would want to do with your shiny new HTC One! This should work on all models (conditions may vary ;) ).

This toolkit offers a 'one-click' method of:

Using HTCDev to unlock the bootloader

Using Revone to grant S-OFF to your phone

Basic ADB commands to get you going

Basic Fastboot commands to get you booting!

Installing APKs

Sideloading!

Pushing!

Installing Drivers! (optional)

The list could go on for about 2-3 more points but I'm lazy! (forgetful)

Please enjoy, and if you like. give me a :good:, also feel free to donate but don't feel that you need to this is FREE!!, I'll send you my gratitudes!! :good:
[One (M7) Android Development] squabbi:
Downloads​

Version 3.3.0 [EoL]: Download Here!

For thoes running Windows XP try this out. It requires .NET Framework 4 CP. Give me some feedback! :)

Modified Version for XP!

If you would like an XP compatible version, download this one for the M8. Many features still work but with a .NET Framework 4.0 CP!

http://xdaforums.com/devdb/project/dl/?id=6282

(Or Here!

HTC Drivers are able to download from the toolkit. :)

Changes

Key:

[F] - File Included

[M] - Major Update

[O] - OTA Update

=========================

V3.1.2 Release [O,F]

- Added *.*

V3.0-b1 Release (M)

- Redesign! :D

V2.2 Release (M)

- Fixed wyUpdate not updating...

V2.1 Release

- Added back wyUpdate for fast and reliable updating!

- Should of fixed several buttons that did nothing... ;)

V2.0 Release (M)

- Fixed recovery flashing

- Added new partition to fastboot flash

- Added ROM Flasher (Beta) Thanks: [MENTION=3534037]filmaker[/MENTION]

- Changed Check for Update feature

- Added Settings [Close ADB on close :: Auto Update Check]

V1.9.3 Release (O)(M)

- Fixed the MID Changer (Forgot the ENG Hboot :p) (Thanks: [MENTION=305656]angusc[/MENTION] & [MENTION=4852881]lars2206[/MENTION] )

V1.9.2 Release (O)(M)

- Minor GUI Change

- Added MID Changer

- Added CID Changer

V1.8.4 Release (O)(M)

- Improved revone and HTC Driver downloading method.

V1.8.3 Release (O)

- Fixed Recovery Section

- Fixed Fastboot flash section! (Thanks [MENTION=4751514]Krocko[/MENTION] :D)

V1.8.1 Release (O)

- Resized the windows for smaller screens.

V1.8 Release (M)(O)

- Fixed preparing revone (Thanks [MENTION=523950]Sulphy[/MENTION] ) :good:

-------------------------------------------------

Silly Update: V1.7.1 (O)

-------------------------------------------------

V1.7 Release (M)(O)

- Finished Recovery download section

- Added advanced section

V1.6 Release (O):

- Added Recovery Download Section (Work in Progress)

- Moved menubar

- Moved wyUpdate GUI

V1.5 Release (O):

- Added auto Root

- Updated GUI

- Fixed version number

V1.4 Release (M):

- Updated GUI

- Corrected OTA functionality.

- Removed recovery images from installer

V1.3 Release (M):

- Updated GUI

- Automated Revone

- Removed non-working Root

- Added awesome updater for OTAs!

V1.22 Release:

+ New version of the Updater When I need you to check the thread for a major update. :)

+ Updated GUI

+ Added Root Section GUI (LIMITED) (Not Complete)

V1.21 Release (M):

+ Updater actually working! Check the post anyways! ;)

+ Added APK installer

+ Updated GUI

V1.20b Release (M):

+ Updater

* Changed 'Open CMD' to opening Windows' CMD.

V1.20 Release:

+ Redesigned GUI (Removed some colour) :D

+ Helpful Links

+ Misc Commands

^ Updater WIP

V1.10 Release:

+ Updated GUI

+ Added ADB Sideload

+ Added ADB Push

+ Added ADB Sideload / Push Manual

+ Updated Revone Manual

- Removed ugly CMD icon from 'Open CMD'

V1.00 Release:

- Initial Release
[One (M7) Android Development] squabbi:
Bugs, FAQ, Update Info

Bugs

- None as of yet. :good:

Update Info

Could be working on a One-Click root method with the ROM Flasher (beta)

Implementing an S-OFF for Verizon (lemme check)

FAQs

[Q] Will this work for my device?

[A] Well it works for all HTC Ones! But for models such as the Google Edition, Verizon and Dual SIM Version everything will work EXCEPT revone S-OFF.
[One (M7) Android Development] dena994:
Can I unlock the bootloader after the update 4.2.2? my kernel is 3.4.10-g445d072root@abm013#1SMP PREEMPT and my baseband 4A.17.3250.14_10.39.1150.4L and the build is 2.24.401.1
[One (M7) Android Development] luckylui:
I don't think the 1.54 hboot (stock) can.. I could be wrong tho..
[One (M7) Android Development] descenpet:
htc dev token unlock will work. revone, no.
[One (M7) Android Development] Kahbrohn:
For those who have (ahem... cough, cough) inadvertently wiped everything on their phone and did not have a proper back up on hand, do you plan on looking to include side loading? May be the salvation of many a noob.
[One (M7) Android Development] squabbi:
Sure! I'll work on it now. Thanks for the suggestion! :good: :highfive:
[One (M7) Android Development] angusc:
Very nice looking tool kit!

Sent with desire from My One
[One (M7) Android Development] sub0min0us:
Nice tool! Good intention but I think including revone in the tool needs approval? Did you ask them permission to do so?

Sent from my HTC One

---------- Post added at 06:34 PM ---------- Previous post was at 06:15 PM ----------

I'm referring to this...

-----------------------

Redistribution/Bundling revone

Permission is not given to redistribute and/or bundle revone into "one click" utilities (or similar). Please only obtain revone directly from us, this allows us to ensure the most up to date version is available in case of any critical issues.

Many thanks for your understanding.

-----------------------

Sent from my HTC One
[One (M7) Android Development] jb_alphamale:
Works perfect.:good:
[One (M7) Android Development] squabbi:
I'm glad you like the GUI. :)
[One (M7) Android Development] jb_alphamale:
There is always a vigilante when you need it.:cyclops:

Good intention? Yes.

Other than that? Nothing.

How do you know he didn't get the approval?

A PM to him would have been way more appropriate.
[One (M7) Android Development] squabbi:
I know what you mean, believe me. I have tried to contact the OP via PM but has never responded...

I thought by what they meant is that don't include it with the toolkit. So I have made it download revone directly from their site.

If you want me to remove it or they do its fine by me.

Thanks for pointing it out though. :)
[One (M7) Android Development] squabbi:
I'm glad you like it! :) I'm also glad that it works! :p
[One (M7) Android Development] jb_alphamale:
IMHO you did well. You gave credit, tried to contact them and linked directly to their site and more than that your GUI is free.

We have finally a useful tool that works right of the bat and it looks good.

Maybe the guys from revone are busy and sometimes you have to push more to get the result.:D
[One (M7) Android Development] squabbi:
Thanks for the support! I appreciate it. I made this because I only saw Hansoon's toolkit which didn't look too nice. So this was born!! :thumbsup:
[One (M7) Android Development] squabbi:
Just to let you know I have filled out your request! :) Sideload and push.
[One (M7) Android Development] TheArc:
Hello OP, what program did you use to create this toolkit?

~ Krish
[One (M7) Android Development] squabbi:
Hey there Krish!

I used Visual Studio 2012 with the C# language. Using WPF forms. :)
[Samsung Galaxy Mega] djleez82:
Hey guys, just wondering if there's been any update on a working custom recovery for this phone yet? Ive been looking around a bit and I've found nothing conclusive as of yet
[Samsung Galaxy Mega] baladev:
G'day mate. The short answer is no - there's no working CWM for the Mega yet.
[Samsung Galaxy Mega] ValenteL:
Not on http://www.clockworkmod.com/rommanager
[Android Software/Hacking General [Developers Only]] alireza7991:
About

These two applets ( mkbootimg + unpackbootimg ) are used to pack and unpack any standard android kernel with 4096 / 2048 page size . Most of tools that pack and unpack boot.img files such as Dsixda kitchen , Kernel kitchen or. ... use these applets .

These applets were compiled only for X86 so we could only (un)pack boot.img in Windows or Ubuntu but I compiled and fixed these applets for Arm7 platform on android devices from Android sources. So you may pack and unpack boot.img on any android device !!

Sources are here ( Lisenced under GPL 2.0 lisence ) : My github

How to use

1- First download applets package

2- Unzip it and push two files in it to /system/bin or /system/xbin

3- Set their pemissions to 777 ( rwxrwxrwx )

For unpacking a kernel

* Assuming that you have boot.img in /sdcard

* Open terminal and type : [ this is just an example , you can change it ]

su
unpackbootimg -i /sdcard/boot.img -o /sdcard/ -p 4096

*You will have extracted boot.img at /sdcard

* Save ouput information that applets gives you at the end . you need them in future

For packing a kernel

* Copy ramdisk.gz , zimage , cmdline , pagesize , base you got from unpacking boot.img into /sdcard

* Open terminal and type :

su
mkbootimg --cmdline cmdline --kernel zimage --ramdisk ramdisk.gz --base base --pagesize pagesize -o boot.img

* You will have output ( boot.img ) at /sdcard/boot.img

Download

Download build 1 @ Dev-Host

* Initial build

Credits

* Alireza7991 - for fixing , improving and cross-compiling for arm^7

* Andrew Huang ( bluedrum@163.com) - for sources

* Android Open Source Project - for sources

This applet is under GPL 2.0

Using this is free but you have to ask me if you want to use this in your tools or ...
[Android Software/Hacking General [Developers Only]] alireza7991:
Reserved for OP
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
very cool, :good::good::good:
[Android Software/Hacking General [Developers Only]] Rushing:
Awesome thanks for sharing your work !

I'll be back in a flash

A better link would be really cool can't DL it to my nexus for the life of me :banghead::D
[Android Software/Hacking General [Developers Only]] alireza7991:
What problem do you have with download link ?
[Android Software/Hacking General [Developers Only]] biopsin:
segmentation fault

Hey

Trying to unpack a samsung kernel, but I get this error

BUILDER: Alireza7991

BOARD_KERNEL_CMDLINE

BOARD_KERNEL_BASE e19f8000

BOARD_PAGE_SIZE 24061976

Segmentation fault

I guess my boot.img is not supported?
[Android Software/Hacking General [Developers Only]] alireza7991:
I have unpacked Samsung Galaxy S plus kernel successfuly

Only 2048 & 4096 page sizes are supported !

Edit : I have forgot to say Samsung exynose kernel which uses zImage as in SGS 1/2/3 are not supported
[Android Software/Hacking General [Developers Only]] ze7zez:
For a good understanding of the structure of boot and recovery images can read such here.
[Android Software/Hacking General [Developers Only]] souler456:
So, now that I unpacked my boot.img, next question is:

How can I modify them through the phone also? Does an application that modifies ramdisk.gz / zImage exist?

I can modify my APKs' xmls and smali files and recompile then on my phone, so I'm wondering if I can modify this also on my phone.... Can it be? :eek:

Edit: I tried unpacking boot.img-ramdisk.gz via TermEmu:

lzma -dc ../boot.img-ramdisk.gz | cpio -i

But, as I expected, it failed and says:

lzma: out of memory

(Yes I'm new at this thing. Still worth trying :D)

So, any other workarounds to unpack and modify these babies via our phones? :eek:
[Android Software/Hacking General [Developers Only]] alireza7991:
I'm amazed , how do you unpack APKs on your phone ? I saw sth for packing APKs but I do'nt know how to decompile APKs

ZImage is a static executable of compiled kernel . but ramdisk is an small file system which includes some essential files for booting your phone such as init.rc , and ... . ramdisk has two compressions , cpio and gz . first you have to gunzip it and then uncpio .

I'm working on a ramdisk unpack tool too .
[Android Software/Hacking General [Developers Only]] souler456:
I use Apktool, but ported to my phone (yes, an Apktool which is an APK) to get my APKs down and dirty. I'm sure it's on XDA, but I forgot where I did get it though... :eek:

For the ramdisk to be unpacked, can I use those commands (gunzip) and execute them via TermEmu? Did you tried it yet?

Also, I don't have a single idea of what a zImage is (except the one you just said, which is also kinda noob-shot my head), what's contained about it, and how to modify it for my tastes... Any tutorials you may shed some?

Will wait patiently for the development of your works related with this. It's really great man :D
[Android Software/Hacking General [Developers Only]] t0kgrumps:
Since some people here don't know there was an apktool for android then I'll just create a thread for it :D with instructions for noobs
[Android Software/Hacking General [Developers Only]] alireza7991:
I found apk tool on android :D not on xda , on google code .

Zimage can not be modified because it is compiled , also can not be decompiled . so you can not modify it .

when boot process starts , bootloader reads zimage from pre-defined partition and loads it in ram . then it calls cpu to execute zimage . when zimages executes it sets up initial board configurations ( such as regulators , GPIOs and ... ) , drivers and ... . then it opens ramdisk and unpacks ramdisk . when ramdisk opens , init process starts by kernel . it executes init.rc , init.<target>.rc . init.rc sets up initial kernel configurations and any other thing related to android . init.rc executes some initial android binarys such as bootanimation , surface flinger , adb and finally app process . app process turns on java and dalvik enviroments . finally framework and other java classes runs and android appears :D:D

Did you understand what is zimage and ramdisk ??
[Android Software/Hacking General [Developers Only]] souler456:
You don't have to. There's already a thread for it (found it 35mins after I started the topic :D) : http://xdaforums.com/showthread.php?t=2388135

It will only be deleted by Mods, so, yeah... :eek:

Yes. Thanks so much! :D

So the probability of a modifying process can only be done by the ramdisk only? Well... :eek:
[Android Software/Hacking General [Developers Only]] t0kgrumps:
Oh ****, just created it. But with somewhat better instructions for newbies.
[Android Software/Hacking General [Developers Only]] WisdomSky:
waiting for this unpack tool...

I only make,decompile,theme and mod apks via my phone...

so slicing up the boot.img via phone is a good additiob too.... XD

great work for this...haven't tried it yet...

but will do whenever the unpack tool is also ready... XD
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I'm waiting for this :).
[Android Software/Hacking General [Developers Only]] alireza7991:
done :)

cpio -i < ramdisk.gz
[Android Software/Hacking General [Developers Only]] thirdzcee:
Gonna try this soon
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Hmmm. Was this a recent update? I downloaded the tools this morning. I'm getting the below error:

cpio: unsupported cpio format, use newc or crc
[Android Software/Hacking General [Developers Only]] :
woah, 16 yera old GENIUS!!!:laugh: #NextBillgates
[Android Software/Hacking General [Developers Only]] souler456:
Ramdisk Decompression Update?

Hey OP, how's the work for decompressing ramdisk.gz to our phones? Any new updates? :eek:
[Android Software/Hacking General [Developers Only]] alireza7991:
it seems theres a bug in the tools . I gonna recompile it using lastest android sources ;)

EDIT : Fixed ! gonna upload it
[Android Software/Hacking General [Developers Only]] lolet:
Could you add compiled mkbootfs to the package, so we could repack boot image?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
Will be also be able to recompress the ramdisk using a similar command, so that the updated boot.img can be repackaged completely? It would be nice to have a script that could use the identified page size, etc. to automatically repack with the correct parameters.

But the first step is the working binary to extract it, so I eagerly await the new upload :).
[Android Software/Hacking General [Developers Only]] souler456:
Waiting here also! :D