yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
Hi guys,

I had a little time playing with this, but I have good news :

I modified the default profile used for the flashtool backend to "ADL boot" : my "dead" phone now stays connected to the USB and is reported as "started" by the flashtool CLI ("flash-tool get_connected_equipments") however, when I try some "active" flash-tool CLI commands, the backend crashes.

As I was running it either in windows 8.1 64 bits or Linux in a VM, their might have some bad interactions with the OS on the one hand and the USB port forwarding on the other hand (there was issues with the LCD and LCM drivers in Windows, I grabbed the 64 bits ones from VSIW...).

-> I have to test on a 32 bit Windows.

Good to read to understand further (extracted from flash-tool-backend.html file) :

Note : ME stands for mobile equipment, "boot indication" can take the following values : ADL, ALT, Normal, Production, Programming : set into the config files pointed by the .mesp file)

Boot process description

When the peripheral boot sequence starts, the ME sends an asic id to the connected PC tool. The PC tool then answers with a boot indication. If normal, "ADL" or "production" is sent as boot indication; this means that the x-loader will start the binary software stored at the corresponding location in the boot image (based on the location stated by the TOC). If programming is used as boot indication, the PC will send a completely new set of boot code to the ME. This is used when a loader is downloaded during service mode startup via the Flash Tool Backend. When the normal boot indication is sent, Flash Tool backend sends no more data and the ME is booted with the binary software stored in the place where the normal software is stored according to the TOC.

The ADL boot scenario works like this:

1. Flash Tool Backend receives asic id

2. Boot indication ADL is sent

3. Flash tool backend starts LCD and LCM and waits for a loader startup message.

The loader is stored at the ADL location of the boot image (this is supported by the assemble tool).

I think I'd have to assemble the correct bootloader to enable "profile-STE_DBX500_flashloader.prfl" profile to work (we are missing corresponding loader.ldr loader). It would enable the use of the "LoaderCommunication"

I think I have all the pieces and the docs (we even have the certificates to sign it !): just need time and a better GFAF (Girlfriend acceptance factor).

The guys who managed to unbrick some Qualcomm based devices might be of a huge help, they would be much more efficient than I can be... I any of you have time to drive them around here, do not hesitate!

Enjoy!
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] neilPD_07:
Any good updates & tested solution sir? I'm still waiting for a big solution for this kind of problem... TIA
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
Hi !

well, I'm almost done with the bootloaders: I have a loader.ldr compiled + 2 bin.

I've reset my dev. env. to an Ubuntu 10.04 according to a .doc I found in the sources (search for "*.doc", you will find "getting_Started_with_Android_and_Linux.doc"): I now have far less compilation errors, but I'm still struggling to get the full compilation process just right. For eg. I had to remove the "alsactrl" component due to dependency issues I've not been able to solve.

As already stated, I'm far from being a dev. expert so it takes me a lot of time to acheive the right compilation.

I would highly need the help of s/b who is fluent with Android compilation/dev env.: first it would be necessary to establish how to merge correctly the disclosed sources with Google's sources + the open sources from Samsung (kernel + system) (we have duplicates here as the kernel is also available in the disclosed sources, but both are different releases).

As already stated, given the few spare tile I have and without the help of the right people this will take me ~4 months+ to have this unbrick done (if I face no deadlock).

So, if you want this faster: get the right guys on the forum (from the "dev" branches) and drag them here so we can go forward much faste!
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
Hi!

So, I think I'm getting close: I now have the boot files build procedure working (+kernel and sytem, but I don't need those).

When I try to boot my phone with those boot files using the "flasher -tXXXX -X0,normal.bin" command, it seems that they are rejected as the phone connects and disconnects (boot loop on the iRom startup, I believe).

So, now I really need to have some kind of debug console setup to understand what's going on (cause of rejection, like signature problem etc...):

I've been working blindly up to now hopping that the software would work "off the shelves"... it never does ;)

I'll have to try to understand how the "trigger UART" parameter of flashkit backend works and what is it intended to (I'll have to read the code for that as I've never seen any explanation about it anywhere in the docs). I don't figure out how this could work as on the backend GUI it lists the host PC's serial ports...

Another option would be to have my FTDI debug setup working. Maybe it's not "another option" but is required if the "trigger UART" is just enabling UART debug on the phone and requires a debug cable to read these debug data. My problem in that case would be how to have USB *and* UART on the same port... unless all this is designed for dev targets that have 2 USB ports as the Calao's u8500 targets. In that case, i'd have to find something smarter ;)

As usual, if someone with knownledge on all this is willing to help: wave your hand, I'd happy to share my researches and go forward much faster. But I really feel I'm alone on this (even if I know that there will be tons of leechers when/if I manage to have this work ;)

That's life on XDA!
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] amlalodo:
Nice nice

U R great man..UP UP UP :good::good::good:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
use UART debug on USB

This will help me, I'll test it on my working S3 mini (same proc and very similar HW)... when I have time...

-> this will validate my UART debug setup : http://xdaforums.com/showthread.php?t=2100809
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
ok, UART debug up and partially running on my SIII mini: debug messages displayed on terminal but keystrokes do not reach the phone, this is secondary for me at the moment, I may have a bad contact somewhere.

Tested on my dead I9070: no display, so the Xloader on my eMMC is garbaged (or Xloader UART debug is disabled, but this is less likely).

As expected, I now have to figure out how to have flashloader boot files upload *and* debug working together to understand what's wrong with my compiled boot files. I think the "trigger UART" thing is a good track, but I'm really puzzled by how to have the USB *and* the UART setup at the same time.

I fear to fry something by having phone D+/D- connected to USB port of the PC and connected at the same time to my Prolific TxD/RxD + 5V VCC connected to PC USB... sounds like a bad thing.

Another track would be USB debug I see in some parts of the code, but I don't know how to read the debug from there, more code to inspect...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] AceVincent:
got it~

---------- Post added at 02:03 PM ---------- Previous post was at 01:22 PM ----------

I also have a fully bricked I9070( not I9070P).I`m waiting for your good news.Thanks first.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Paul L.:
I received this PM, I believe it can be useful for others experimenting with it

I am sorry for pointing this out, STE tools wont work ever on i9070, the reason being that we do not have a STE bootloader, heck, most of the low level stuff do not resemble the ST-Ericsson Montblanc development board. You can't even change the bootloader arguments, you can only add to them (the way I first enabled SELinux), the Samsung Bootloader version that we have may be not as restrictive as others, but Sonys bootloader resembles more to STE's than ours.

The only way you may found how to restore it is accessing the JTAG mode (something that is determined only if JTAG is connected and recognized) and depends solely on the emergency bootloader (if that exists, because I am not sure how the device powers on without PBL), the "seconds" of power you get on the USB is the device looking for JTAG.

The "disclosed" sources are for ST-Ericsson devices

Something you should do, is analyze the structures of /dev/block/mmcblk0p10, which contains our partition table (GUID Partition Table - GPT).

Simple way of doing it, you have to do dd if=/dev/block/mmcblk0p10 of=/sdcard/janice.pit on terminal emulator, this is ROM agnostic, because the structures are the same on both stock and any custom ROM. Of course, that is from a working device, I'll do that and drop it here later since I am working on something else right now, and thanks diegoch for discovering this.

Anyway, as diego pointed to me, our partition table is like this.

PIT, CSPSA, EFS, MODEM fs, SBL, SBL2, PARAM, IPL modem, MODEM, Kernel, Kernel2, system, data, cache, preload, fota, sdcard

This is the correct order I believe, since basically, when you use ODIN and use a PIT file, the partition table gets rewritten according to whatever is on that .pit file. So PIT is basically the GPT partition table; obviously SBL is the Samsung bootloader, and SBL2 I believe it's either stage 2.5 or a backup of the first.

So, no clue by going the STE way, something familiar here.

So, I may say something good at the end, see if the i9100 guys ever did it, and go from there, since our device is largely based around i9100 (Galaxy S II)
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
Hi!

I had no time working on this for a while: extremely busy at work.

Maybe this weekend...

[MENTION=4832589]cocafe[/MENTION]: I've read you know how to extract the initramfs from the kernel, modify, repack, and reflash it. I'll need to do that to modify the "on boot" section of the init.rc to launch the recovery from standard boot. Could you drop me here the command lines to do that? Thanks in advance!
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] kenjiru:
This looks by far the most advanced research into bringing back a hard bricked i9070.

[MENTION=943030]flentus[/MENTION] Did you manage to upload a new bootloader?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] flentus:
Hi,

had to time at all to play with this for a loooong time.

I have grabed a few new phones so me 9070 is now burried deep into a drawer but I really wish to finish this one day because I feel I'm very close to something.

If anybody would like to take over this, feel free, I can provide support for the stuff I have understood (and remember of...)

Regards
[Android Q&A, Help & Troubleshooting] maxfact:
Hallo

I looking for a build rom AOSB for Xperia V but i have a problem

I'm following instructions here

AOSB, but while doing repo sync i have this errror

Syncing work tree: 5% (23/455) error: revision refs/heads/cm-11.0 in AOSB/android_device_sony_common not found

, because ask me a authentication for https://github.com/AOSB/android_device_sony

What's wrong?

For the first case I have to have the repo cyanomogenmod?
[Android Q&A, Help & Troubleshooting] maxfact:
I think I've made ​​progress, now i have this error:

Syncing work tree: 57% (255/447) error: revision master in ProBAMKK/android_frameworks_base not found

Please help me :crying:

thanks
[Android Q&A, Help & Troubleshooting] timmytim:
Try this, I think the solution is in the last post: https://groups.google.com/forum/#!topic/android-building/Tlw1wHc7N54
[Android Q&A, Help & Troubleshooting] maxfact:
[MENTION=3452732]timmytim[/MENTION]

Thanks now i initialized the repo successfully

I have used this command :

repo init -u https://github.com/AOSB/android.git git checkout -b master

, i dont no if it right but worked.

For sync repo i used this command

repo sync -j2 -c -f

Now i try to build rom
[HTC Butterfly S] Justinhopaolo:
Any insights ?

Has anybody done the same? Or vice versa?
[HTC Butterfly S] tropical cactus:
I did. No regrets. Great battery life and bigger screen. Butterfly s is much tougher in terms of build. Nearly half a year and still pristine.
[HTC Butterfly S] daorderdillon:
Lol I had mines nearly a year now I love my butterfly s everyone makes the switch
[HTC Butterfly S] Terra1:
Have done the same, m7 to the butterfly s. Have not regretted the move.

Being so close to m8 release, I would be jumping to that. Imoa...

Good luck with your upgrade.
[HTC Butterfly S] kingkong0821:
I think you might consider the new m8

if you care the development of the device

like custom roms or kernels

you can see that it is so quiet here

otherwise the battery,display and all other stuff are very nice
[HTC Butterfly S] u2pop:
Did the same 3 months ago. No regret whatsoever.
[HTC Butterfly S] daorderdillon:
More devs will come cuz the device is cheap now
[HTC Butterfly S] elf_made:
Yeah I agree! I hope so because it's really a brilliant phone! From HTC devices I'm sure it still have the best battery...From 1.9Ghz to 2.3Ghz doesn't make that much difference! I'll wait for M9 or maybe the new butterfly XS :fingers-crossed:
[HTC Butterfly S] daorderdillon:
Butterfly s is cheaper than the m8 now
[HTC Butterfly S] the_eclectic1:
I have the M7, M8 & Butterfly S. Battery life is still superior in the BS compared to the M8. Performance wise in everyday tasks I don't feel any difference with the M8. Unless you love the aluminum feel I think BS is a better value buy.

Sent from my HTC Butterfly s
[HTC Butterfly S] daorderdillon:
View attachment 2687556
[HTC Butterfly S] Lawyer007:
Yea, but where i can buy it now, in Europe, all retail stores don't have htc butterfly s anymore!

Like it was sold out completely.

I have Htc one m7 and i really want to buy htc butterfly s red one! Im from bosnia and herzegovina
[HTC Butterfly S] koniiiik:
As far as I know, this phone has never been distributed in Europe.
[HTC Butterfly S] FYL21:
At this point if you can get the BS for cheap go for it, but if you can find a way to buy the E8 or One Vogue, that's a better option although HTC might release yet another Butterfly in Japan or Taiwan some time soon... The only disadvantages I see with the E8 is no IR blaster and only 2600mAh.
[HTC Butterfly S] Lawyer007:
Yes it is! All around the Europe, but not officialy, if that is what you mean, not even in US, htc bs is only for Asian market, but online retailers bring that device to US and Europe, but i can't find it anymore, only couple left on ebay
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Hey guys, sorry for not trying to do a lot of research here but I'm just very panicked and i need help.

Ok so I was on a stock 4.3 mk2 rooted rom. I tried downloading a kernel because i read it would stabilize and improve battery life. Unfortunately now when I boot up my phone it shows a hazard sign that says it has a authorized kernel so i cant boot up. I can get in download mood. I have tried to odin 3.07 back to stock mk2

http://www.androidfilehost.com/?fid=23269279319199809

But I still have the same problem. I am unable to get into recovery. And i honestly am afraid that if i keep trying to boot into recovery my battery might die. So is there any way out of this loop?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Odin the full mk2 tar file. See the general forum for the file. You only flashed the recovery.

Edit, to help you out http://xdaforums.com/showthread.php?p=49687770

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Is that the all in one tar?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Yes, flash it in the PDA slot

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
hey the file format is a .rar therefore the odin wont find it. What should i do?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ted77usa:
[MENTION=2823037]Dwolf16[/MENTION]

Extract rar using winrar and make sure your USB debugging are check under developer options.

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Never mind read that to fast. Sorry file came up as a paper icon thought i couldn't unzip it

Unziped and downloading now in odin.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Thanks guys so much. I know it was very ignorant to just post this without research. I just got very panicked after the first fail of the odin recovery flash.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
No problem. That should hopefully get you fixed up.

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
It did :)
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Hey no to take away any of the help that you guys did, I appreciate it A LOT!!

I just found this that would have done the same thing.

chrome://mega/content/secure.html#!lwVUSAiY!Qx2T5SUXOwLQJxgcpBW8gl6zzQ1Un6ULxoVki6AmSjQ

From here http://xdaforums.com/showthread.php?t=2692825
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Not sure on the mega download, don't have that app on the rom I'm currently running so can't (review) comment on it. The xda link is a way to get a rooted rom on your phone if you have nb1 firmware. Since you're on mk2 there is still a root method for it.

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Yeah the link is for the mk2 stock kernel. If I flashed that in odin I think I could have been where I was before I tried flashing the new kernel.

Just a theory, not going to follow up. lol
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Flashing just the kernel probably would have worked in your case.

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Hey one last question!!

Is there a stock rooted mk2 file I can flash in odin? I'm having trouble finding a root method now. I've tried motorhopper and Loki + TWRP + Motochopper CASUAL. Idk why but from what I'm seeing is that the root methods aren't working for mk2
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
Afaik there is no odin flashable rom. Check this out for root

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

Sent from my Nexus 5
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Dwolf16:
Wouldn't you know, i just clicked this link. Then came back to tell ya i might have found another way. ;)
[Galaxy Note 3 Q&A, Help & Troubleshooting] zombi3butt:
Hi guys, i couldn't purchase an unlimited Neutronmp version after rooted my Note 3 N9005. I'm using Echoe Rom v.12.
[Galaxy Note 3 Q&A, Help & Troubleshooting] vndnguyen:
Did you log-in with the appropriate account?

You have to log-in with the same account that has been used on your phone.
[Android Apps and Games] hsay:
Major Update (06/04/2014)​

What the hell is this for? / What is this app?

Sometimes your lovely little device ( usually running a rom like Cyanogenmod or Omni etc.) is envied by the virgins of the dev community.

And sometimes i.e. very seldom this phone, this piece of your daily life that contains all the data as it is privy to your life gets stolen.

And most of the times such cases are complained to the police , who probably do an investigation (for a few minutes by asking you color and company ) and then say that without IMEI number the phone cannot be tracked .

Well even if you lost the IMEI you havent lost hope....

So I made this very simple and minimal app , which might find the spark and reignite the fire.

Its a very easy to use app (cause its my first app and i couldnt do much XD)

Just to clear up all those who are waiting to flame just cause the app was featured on xda portal.... i would like to say that:

A. This is my very first app

B. Thank you for your support and constructive criticism is always appreciated

C. This app cannot survive flashing of a new rom nor data wipe (even if it is set as system app)

D. I live in india and not many thieves know about such flashing and stuff.

E. I will develop this app more in free time and also try to learn from so many other members.

F. I have updated to a mediafire link (new update) should fix layout (not sure)

E. Please do help in anyway you can .

Thank you...

Flaming , Blaming will NOT be tolerated ... you dont like it dont use it....simple.

Instructions:

1. Specify a backup number

2. If your phone gets stolen and IMEI is lost , simply send an SMS to the phone that is lost from the specified backup number

3. GetIMEI will entertain trigger only from the specified number and will then send the IMEI to this number (Specified Backup Number)

4. Give this to the police and they will forward it to various phone companies ...

5. Now as soon as the theif uses the phone for any call or sms (even if he has NOW changed the sim card) , his location will be informed to the police.

6. And he will be caught.

7.Enjoy! I mean....I hope you find your phone soon.

Should work on

ALL DEVICES

Requirements:

1.Android Phone

2.Android version 2.1+

Well that's it , theorotically it should work on all devices and all android version above 2.1

Features:

1.Remotely Retrieve IMEI

2.Get remote notification of sim change via sms (for now works on limited phones)

3. Get the new sim number and sim serial

4.More to come

Tested on/ Working device list:

Galaxy mini

LGoptimus L7 (p705 & p770)

Galaxy Ace

Downloads:

Please read this to check if the sim change detection feature works on your phone....

GetIMEIv1.5(Update 06/04/2014)

Please test and report and also help fix it.

Thank you for using this app and supporting me

Credits:

XDA Developers

A_U

F4uzan

All the members of Galaxy Mini thread (you are like family)

Google Inc.

If I forgot to mention you please pm me and i will add you
[Android Apps and Games] hsay:
Changelog:

V1

Initial release

V1.3

Updated Layout (Fixed on all dpi phones)

Faster response time

Better algorithm

V1.5

Added sim change detection feature

( May not work with a few phones)

Stay tuned cause there is more to come...
[Android Apps and Games] hsay:
if a comet falls on the first reserve
[Android Apps and Games] F4uzan:
Works flawlessly on KitKat, LG Optimus L7 (p705 & p700). Works also on Samsung Galaxy Ace (4.1.2, CM).

#F4UZAN : Team Optima
[Android Apps and Games] hsay:
thank you for reporting ... i will add them to working device list
[Android Apps and Games] F4uzan:
Report again, working with Galaxy Tab 2 7" with PACMan ROM (4.2.2)
[Android Apps and Games] hsay:
Will upload an updated version with a few ui changes and a better algorithm ( using a predefined global variable now instead of a user defined local variable )
[Android Apps and Games] hsay:
[MENTION=4751327]F4uzan[/MENTION] please test and report the new version .

Link : old link....removed
[Android Apps and Games] F4uzan:
Working on device listed above, got FC at first try with KitKat, but then the app works normally.

Also working with Galaxy Y (2.3.6, stock), Galaxy S3 (4.4.2, CM 11).

#F4UZAN : Team Optima
[Android Apps and Games] HellBoy.007:
Pretty nifty app.

Works on Galaxy Grand Quattro.

Request: Features like "Hide from app drawer" or "Prevent uninstall by making the app a device administrator".

Though the second one could be easily disabled, it will still take some knowledge...
[Android Apps and Games] jacksparao:
good

much needed app
[Android Apps and Games] basuraunak:
Great App!

This is really an lifesaving app(or rather Phone-saving).......really great try!
[Android Apps and Games] pjilka:
No offence, but the time and effort it would take to set this up, you could just write down the IMEI
[Android Apps and Games] Masrepus:
Unfortunately on my phone (see sig) the app is being displayed like that:

I guess this may be due to missing hdpi layout

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

Phone : Nexus 4

OS:

Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)

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

Gesendet von Tapatalk